diff --git a/timesheet/inc/class.timesheet_ui.inc.php b/timesheet/inc/class.timesheet_ui.inc.php index c8af4d98f5..98fc2556a5 100644 --- a/timesheet/inc/class.timesheet_ui.inc.php +++ b/timesheet/inc/class.timesheet_ui.inc.php @@ -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']; diff --git a/timesheet/setup/egw_de.lang b/timesheet/setup/egw_de.lang index 8f1ce5fda3..bffb44436b 100644 --- a/timesheet/setup/egw_de.lang +++ b/timesheet/setup/egw_de.lang @@ -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 diff --git a/timesheet/setup/egw_en.lang b/timesheet/setup/egw_en.lang index 605f317f79..5150e97f24 100644 --- a/timesheet/setup/egw_en.lang +++ b/timesheet/setup/egw_en.lang @@ -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