Added requried comment in the admin customers controller to the code used to display the deleted customers

This commit is contained in:
vishalsingh.qlo325
2024-07-10 10:14:02 +05:30
parent 6a40033b4f
commit afdb1b588e
3 changed files with 2 additions and 1 deletions

View File

@@ -223,6 +223,7 @@ class AdminCustomersControllerCore extends AdminController
}
parent::postProcess();
// Added this to check if the filter for the banned(deleted) is used, since $this->delete = true will not display the deleted customers.
$prefix = $this->getCookieFilterPrefix();
$filters = $this->context->cookie->getFamily($prefix.$this->table.'Filter_');
if (isset($filters[$prefix.$this->table.'Filter_deleted']) && $filters[$prefix.$this->table.'Filter_deleted'] == 1) {