From 25e875046573250376447e1df11d17a64c5525bf Mon Sep 17 00:00:00 2001 From: "yogeshwar.g" <yogeshwar.g@vtigersolutions.com> Date: Tue, 23 Jan 2024 18:08:16 +0530 Subject: [PATCH] #Fixes::158029917::Yogeshwar::Pricbook Filter Issue --- modules/PriceBooks/views/Popup.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/PriceBooks/views/Popup.php b/modules/PriceBooks/views/Popup.php index f68c77a6e..2cda1b710 100644 --- a/modules/PriceBooks/views/Popup.php +++ b/modules/PriceBooks/views/Popup.php @@ -72,6 +72,9 @@ class PriceBooks_Popup_View extends Vtiger_Popup_View { } if(!empty($searchParams)) { + if(empty($searchParams[0][1])){ + $searchParams[0][]=array('currency_id','c',$currencyId); + } $transformedSearchParams = $this->transferListSearchParamsToFilterCondition($searchParams, $listViewModel->getModule()); $listViewModel->set('search_params',$transformedSearchParams); } -- GitLab