Merge pull request #1467 from vishal-singh-webkul/gli-2609

Fixed: Filter related issues in the Back office
This commit is contained in:
Rohit Jain
2025-06-17 17:32:13 +05:30
committed by GitHub
5 changed files with 60 additions and 15 deletions

View File

@@ -907,9 +907,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;