* Add filter by labels and rename projects to products.

This commit is contained in:
dingguodong
2021-08-11 15:26:13 +08:00
parent ffe3bc0b31
commit 9b5e768fd2
5 changed files with 80 additions and 40 deletions
+2 -2
View File
@@ -82,7 +82,7 @@ class baseEntry
*/
public function param($key, $defaultValue = '')
{
if(isset($_GET[$key])) return $_GET[$key];
if(isset($_GET[$key])) return trim($_GET[$key]);
return $defaultValue;
}
@@ -496,7 +496,7 @@ class baseEntry
switch($type)
{
case 'time':
$timeFormat = $this->param('timeFormat', '');
$timeFormat = $this->param('timeFormat', 'utc');
if($timeFormat == 'utc')
{
if(!$value or $value == '0000-00-00 00:00:00') return null;