Fixed: filter related issues in the Back office

This commit is contained in:
vishalsingh.qlo325
2025-06-04 12:08:01 +05:30
parent 5da60bb913
commit d79ef4963c
5 changed files with 56 additions and 15 deletions

View File

@@ -878,9 +878,8 @@ class AdminControllerCore extends Controller
}
}
if (empty($filters)) {
$filters = $this->context->cookie->getFamily($prefix.$this->list_id.'Filter_');
}
// To merge the older filters with the new ones, and replace if new data is added to filter.
$filters = array_merge($this->context->cookie->getFamily($prefix.$this->list_id.'Filter_'), $filters);
foreach ($filters as $key => $value) {
$key_org = $key;