From 5c1132f6da292a689bc52bd7f20a83ff8d733fbd Mon Sep 17 00:00:00 2001 From: wei <> Date: Wed, 26 Jul 2006 01:44:57 +0000 Subject: Allow nested GroupBy result maps --- demos/time-tracker/protected/pages/TimeTracker/LogTimeEntry.php | 4 +++- demos/time-tracker/protected/pages/TimeTracker/ReportProject.page | 6 +++--- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'demos/time-tracker/protected/pages') diff --git a/demos/time-tracker/protected/pages/TimeTracker/LogTimeEntry.php b/demos/time-tracker/protected/pages/TimeTracker/LogTimeEntry.php index cc27c93c..a134289c 100644 --- a/demos/time-tracker/protected/pages/TimeTracker/LogTimeEntry.php +++ b/demos/time-tracker/protected/pages/TimeTracker/LogTimeEntry.php @@ -50,8 +50,10 @@ class LogTimeEntry extends TPage $this->projectMembers->DataSource = $users; $this->projectMembers->dataBind(); if(is_int($index = array_search($this->User->Name, $users))) + { $this->projectMembers->SelectedIndex = $index; - $this->showTimeSheet(); + $this->showTimeSheet(); + } } public function showTimeSheet() diff --git a/demos/time-tracker/protected/pages/TimeTracker/ReportProject.page b/demos/time-tracker/protected/pages/TimeTracker/ReportProject.page index 065b6b17..50345afa 100644 --- a/demos/time-tracker/protected/pages/TimeTracker/ReportProject.page +++ b/demos/time-tracker/protected/pages/TimeTracker/ReportProject.page @@ -5,10 +5,10 @@ Project Report - - - + + -- cgit v1.2.3