PilotJordan Posted July 17, 2012 Report Share Posted July 17, 2012 When I try to sort schedules by their departure or arrival airports, distance, or aircraft type, it just shows up as a blank page. There are flights in the database. They're just not showing up with the search function. http://www.airtranva...x.php/schedules Quote Link to comment Share on other sites More sharing options...
mischka Posted July 17, 2012 Report Share Posted July 17, 2012 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! Quote Link to comment Share on other sites More sharing options...
PilotJordan Posted July 18, 2012 Author Report Share Posted July 18, 2012 Tried the simpilot add-on, it still said "no routes found." However, there are routes in the db because I can see it in the admin panel, the tables, and using the scheduled module. However, I can't get any routes to display using the search function. Quote Link to comment Share on other sites More sharing options...
PilotJordan Posted July 18, 2012 Author Report Share Posted July 18, 2012 Anybody? Quote Link to comment Share on other sites More sharing options...
PilotJordan Posted July 18, 2012 Author Report Share Posted July 18, 2012 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.