Jump to content

Recommended Posts

  • Moderators
Posted

how can i sort the table so that the pilot with most hours or most flights is on top.i have been trying different stuff but can't get it to work.

and is there a way to only show the active pilots in the pilots list or an icon that says inactive or active

Posted

and is there a way to only show the active pilots in the pilots list or an icon that says inactive or active

That would be great. I have been thinking about 2 different pages. 1 for active like we have now, and if they click a link, it will show only inactive. Not sure if that is doable though.

  • Administrators
Posted

You can check the $pilot->active field, or the $pilot->retired. Try print_r($pilot) to see the fields.

How is it sorted now? I don't remember

  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...