This commit is contained in:
stasbilay02 committed 2024-08-12 15:39:26 +03:00
1 parent 38d5deb36a
commit 19e994ef38
4 files changed
+10 -5

No files matched your search

+7 -3
View File
@@ -201,10 +201,10 @@ class ListJsonTable extends JasonTable
return false;
}
private function issetFilter($filter): bool
private function issetFilter(string $filter): bool
{
if (isset($this->data['filters'])) {
foreach ($this->data['filters'] as $key => $currentFilter) {
foreach ($this->data['filters'] as $currentFilter) {
if (is_array($currentFilter)) {
return false;
} elseif (is_string($currentFilter)) {
@@ -214,7 +214,11 @@ class ListJsonTable extends JasonTable
}
}
}
if (is_array($this->beforePrintCell[$filter])) {
if (isset($this->beforePrintCell[$filter]['filter'])) {
return true;
}
}
return false;
}