From 6096606e434cd08923eba4a3131885a0a6d22a58 Mon Sep 17 00:00:00 2001 From: "vishalsingh.qlo325" Date: Wed, 2 Jul 2025 15:29:03 +0530 Subject: [PATCH] Fixed: Non filter related fields are also processed in the process filters in the back-office filter submit --- classes/controller/AdminController.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/classes/controller/AdminController.php b/classes/controller/AdminController.php index 01970232d..67d88e69a 100644 --- a/classes/controller/AdminController.php +++ b/classes/controller/AdminController.php @@ -876,6 +876,11 @@ class AdminControllerCore extends Controller $filters = array(); if (isset($this->list_id)) { foreach ($_POST as $key => $value) { + // only process the filter fields. + if (stripos($key, $this->list_id.'Filter_') !== 0) { + continue; + } + if (is_array($value)) { if ($value[0] === '' && $value[1] === '') { $value = ''; @@ -894,6 +899,11 @@ class AdminControllerCore extends Controller } foreach ($_GET as $key => $value) { + // only process the filter fields. + if (stripos($key, $this->list_id.'Filter_') !== 0) { + continue; + } + if (is_array($value)) { if ($value[0] === '' && $value[1] === '') { $value = '';