added no status filter to filter options

This commit is contained in:
Stefan Becker 2009-08-17 18:46:47 +00:00
parent 2618570931
commit ecb0d4fa05
3 changed files with 8 additions and 1 deletions

View File

@ -434,6 +434,11 @@ class timesheet_ui extends timesheet_bo
{
$query['col_filter']['ts_project'] = null;
}
// filter for no status
if ((string)$query['col_filter']['ts_status'] == '0')
{
$query['col_filter']['ts_status'] = null;
}
#_debug_array($query['col_filter']);
if ((int)$query['filter2'] != (int)$GLOBALS['egw_info']['user']['preferences'][TIMESHEET_APP]['show_details'])
{
@ -712,7 +717,7 @@ class timesheet_ui extends timesheet_bo
'ts_owner' => $read_grants,
'pm_id' => array(lang('No project')),
'cat_id' => array(lang('None')),
'ts_status' => $this->status_labels,
'ts_status' => $this->status_labels+array(lang('No status')),
);
$content['nm']['no_status'] = !$sel_options['ts_status'];

View File

@ -55,6 +55,7 @@ modify the status of the timesheet timesheet de Status des Stundenzettels verän
new ticket submitted by %1 at %2 timesheet de Neues Ticket erstellt von %1 am %2
no details timesheet de Keine Details
no project timesheet de Kein Projekt
no status timesheet de Kein Status
none: use only free project-names admin de Keine: verwende nur freie Projektnamen
number of row for a multiline inputfield or line of a multi-select-box timesheet de Anzahl von Reihen für ein Mehrzeiliges Textfeld oder einer Mehrfachauswahlbox
or endtime timesheet de oder Endzeit

View File

@ -55,6 +55,7 @@ modify the status of the timesheet timesheet en Modify the Status of the Timeshe
new ticket submitted by %1 at %2 timesheet en New ticket submitted by %1 at %2
no details timesheet en no details
no project timesheet en No project
no status timesheet en No status
none: use only free project-names admin en None: use only free project-names
number of row for a multiline inputfield or line of a multi-select-box timesheet en number of row for a multiline inputfield or line of a multi-select-box
or endtime timesheet en or Endtime