diff --git a/modules/PriceBooks/views/Popup.php b/modules/PriceBooks/views/Popup.php index f68c77a6eb3166bb1556df90b3259bd7f4cb0368..2cda1b71043739dfed5eee7d6b764d4d1ef11717 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); }