* [bug,0.5h] add checkQueryFilter.

This commit is contained in:
qixinzhi
2024-07-04 09:59:16 +08:00
committed by 周鑫
parent 0349c5c25b
commit 441c4783c3
+10
View File
@@ -835,6 +835,16 @@ class pivotState
return $errors;
}
public function checkQueryFilter()
{
$errors = array();
foreach($this->filters as $index => $filter)
{
if(empty($filter['field'])) $errors[$index]['field'] = true;
if(empty($filter['name'])) $errors[$index]['name'] = true;
}
}
/**
* Set clientLang.
*