Jump to content

Flight Schedules Search function [SOLVED]


PilotJordan

Recommended Posts

With sort you mean to say "filter" I assume. those are two different things

Did you change something in the code?

The standard schedule search is a nightmare.. I suggest using the schedule search addon by simpilot (see addons->simpilot forums)

If you want to sort by something other than time, there is a setting in the local config.

If you want to sorty by departure time, see my post in the simpilot subforum.

good luck!

Link to comment
Share on other sites

I fixed it.

The problem lied within the schedule_searchform.tpl. The following code was the culprit:

<h3>Search Schedules</h3>
<form id="form" action="<?php echo actionurl('/schedules/');?>" method="post">

It seems that the action originally pointed to /schedules/view however the path this needs to be sent to is /schedules/. I didn't change the code but maybe something just got screwed up in the skinning process.

Link to comment
Share on other sites

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...