Skip to content
This repository has been archived by the owner on Dec 6, 2019. It is now read-only.

Commit

Permalink
added airline filter to search
Browse files Browse the repository at this point in the history
  • Loading branch information
Nabeel Shahzad committed Feb 14, 2011
1 parent 703d9f4 commit 83e2fbd
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions core/modules/Schedules/Schedules.php
Expand Up @@ -141,7 +141,9 @@ public function showSchedules() {

$depapts = OperationsData::GetAllAirports();
$equip = OperationsData::GetAllAircraftSearchList(true);

$airlines = OperationsData::GetAllAirlines();

$this->set('airlines', $airlines);
$this->set('depairports', $depapts);
$this->set('equipment', $equip);

Expand Down Expand Up @@ -210,7 +212,8 @@ public function showSchedules() {
}
}
}
}

} // end foreach schedules

$this->set('allroutes', $schedules);
$this->render('schedule_list.tpl');
Expand Down

0 comments on commit 83e2fbd

Please sign in to comment.