I’ve looked around for a bit and haven’t come across this yet, I apologize in advance if it has already been answered.
I need to change the schedule search from the default drop down list, to a search box. Both for the departure and arrival airports. I have a fairly large DB of airports and it heavy lags the site when it attempts to load them all under the drop down options. Any suggestions would be much appreciated.
There’s no default function to do this and it will require editing some of the core files and adding some lines here and there. It would be better to look into a flight search module that does this for you, but it is still possible to do it with the default search.
I am using this code on my version of crewcenter now. I am wondering if I can limit the search results. At the moment even if I type KJFK as dep airport, results comeback from the whole database. Any help would be appreciated. Thanks
I am using this code on my version of crewcenter now. I am wondering if I can limit the search results. At the moment even if I type KJFK as dep airport, results comeback from the whole database. Any help would be appreciated. Thanks
Hello there, you may use the datatables to paginate your results into seperate pages of a table.
I am using this code on my version of crewcenter now. I am wondering if I can limit the search results. At the moment even if I type KJFK as dep airport, results comeback from the whole database. Any help would be appreciated. Thanks
When you select KJFK for the departure airport, does it show only KJFK departures or does it show all departures in your database?
If it only shows KJFK departures, you can use pagination to display a smaller number of results per page - as eluded to by Yash. If it displays all schedulesfor your VA when selecting KJFK, you have an error in your coding.
Are you using the default schedule search or an addon module to search?
When you select KJFK for the departure airport, does it show only KJFK departures or does it show all departures in your database?
If it only shows KJFK departures, you can use pagination to display a smaller number of results per page - as eluded to by Yash. If it displays all schedulesfor your VA when selecting KJFK, you have an error in your coding.
Are you using the default schedule search or an addon module to search?
They key issue is that it shows all the airports, not only JFK