Skip to content
Snippets Groups Projects
Commit 4fdb06ce authored by yogeshwar's avatar yogeshwar
Browse files

#Fixes::158029917::yogeshwar::PriceBook Popup Filter Issue

parent dd471dd7
No related branches found
No related tags found
No related merge requests found
...@@ -72,6 +72,9 @@ class PriceBooks_Popup_View extends Vtiger_Popup_View { ...@@ -72,6 +72,9 @@ class PriceBooks_Popup_View extends Vtiger_Popup_View {
} }
if(!empty($searchParams)) { if(!empty($searchParams)) {
if(empty($searchParams[0][1])){
$searchParams[0][]=array('currency_id','c',$currencyId);
}
$transformedSearchParams = $this->transferListSearchParamsToFilterCondition($searchParams, $listViewModel->getModule()); $transformedSearchParams = $this->transferListSearchParamsToFilterCondition($searchParams, $listViewModel->getModule());
$listViewModel->set('search_params',$transformedSearchParams); $listViewModel->set('search_params',$transformedSearchParams);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment