summaryrefslogtreecommitdiff
path: root/demos/time-tracker/protected/pages/TimeTracker
diff options
context:
space:
mode:
Diffstat (limited to 'demos/time-tracker/protected/pages/TimeTracker')
-rw-r--r--demos/time-tracker/protected/pages/TimeTracker/ProjectList.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/time-tracker/protected/pages/TimeTracker/ProjectList.php b/demos/time-tracker/protected/pages/TimeTracker/ProjectList.php
index eb92dcb7..4e3ac485 100644
--- a/demos/time-tracker/protected/pages/TimeTracker/ProjectList.php
+++ b/demos/time-tracker/protected/pages/TimeTracker/ProjectList.php
@@ -9,7 +9,7 @@ class ProjectList extends TPage
$this->projectList->dataBind();
}
- protected function getSortOrder($sort)
+ protected function getSortOrdering($sort)
{
$ordering = $this->getViewState('SortOrder', array());
$order = isset($ordering[$sort]) ? $ordering[$sort] : 'DESC';
@@ -21,7 +21,7 @@ class ProjectList extends TPage
protected function sortProjects($sender, $param)
{
$sort = $param->SortExpression;
- $this->showProjects($sort, $this->getSortOrder($sort));
+ $this->showProjects($sort, $this->getSortOrdering($sort));
}
public function onLoad($param)