From 2153e0a79a7ba15831874fa38db7bf58e16494b9 Mon Sep 17 00:00:00 2001 From: SJ Date: Thu, 19 Mar 2015 15:05:14 +0100 Subject: [PATCH] date fix for the gui --- webui/model/search/search.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webui/model/search/search.php b/webui/model/search/search.php index b1855cd1..7e9c634c 100644 --- a/webui/model/search/search.php +++ b/webui/model/search/search.php @@ -362,7 +362,7 @@ class ModelSearchSearch extends Model { else if($v == 'note:') { $token = 'note'; continue; } else if($v == 'ref:') { $token = 'ref'; continue; } else if($v == 'id:') { $token = 'id'; continue; } - else { + else if($token != 'date1' && $token != 'date2') { if(preg_match("/\d{4}\-\d{1,2}\-\d{1,2}/", $v) || preg_match("/\d{1,2}\/\d{1,2}\/\d{4}/", $v)) { $ndate++; $a["date$ndate"] = $v;