Skip to content
Snippets Groups Projects
Commit a7d08757 authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

Merge branch 'task-3892-empty-log-search' into 'master'

Task 3892 empty log search

See merge request !114
parents f62bbf80 5af5c92d
No related branches found
No related tags found
No related merge requests found
......@@ -221,11 +221,11 @@ class Actionlog {
''=>array('label'=>t("all")),
);
$aTimes=array(
">'".date("Y-m-d", date("U"))."'" =>array('label'=>t("class-actionlog-time-today")),
">'".date("Y-m-d", date("U") - 60*60*24*1)."'" =>array('label'=>t("class-actionlog-time-since-yesterday")),
">'".date("Y-m-d", date("U") - 60*60*24*7)."'" =>array('label'=>t("class-actionlog-time-for-1-week")),
">'".date("Y-m-d", date("U") - 60*60*24*7*2)."'" =>array('label'=>sprintf(t("class-actionlog-time-for-n-weeks"), "2")),
">'".date("Y-m-d", date("U") - 60*60*24*7*4)."'" =>array('label'=>sprintf(t("class-actionlog-time-for-n-weeks"), "4")),
date("Y-m-d", date("U")) =>array('label'=>t("class-actionlog-time-today")),
date("Y-m-d", date("U") - 60*60*24*1) =>array('label'=>t("class-actionlog-time-since-yesterday")),
date("Y-m-d", date("U") - 60*60*24*7) =>array('label'=>t("class-actionlog-time-for-1-week")),
date("Y-m-d", date("U") - 60*60*24*7*2) =>array('label'=>sprintf(t("class-actionlog-time-for-n-weeks"), "2")),
date("Y-m-d", date("U") - 60*60*24*7*4) =>array('label'=>sprintf(t("class-actionlog-time-for-n-weeks"), "4")),
''=>array('label'=>t("all")),
);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment