Updated: Remove previous filters when applying new filter from KPI

This commit is contained in:
Shreesh Arora
2024-10-10 12:59:54 +05:30
parent c80d85951b
commit e28453584d
4 changed files with 11 additions and 8 deletions

View File

@@ -3066,6 +3066,9 @@ class AdminControllerCore extends Controller
|| $this->context->cookie->{'submitFilter'.$this->list_id} !== false
|| Tools::getValue($this->list_id.'Orderby')
|| Tools::getValue($this->list_id.'Orderway')) {
if (Tools::isSubmit('submitReset'.$this->list_id)) {
$this->processResetFilters($this->list_id);
}
$this->filter = true;
}