Skip to content
Snippets Groups Projects
Commit a2b1b7fd authored by kaushik.p's avatar kaushik.p
Browse files

Fixes::158206801::Kaushik::All products were not displaying while adding to...

Fixes::158206801::Kaushik::All products were not displaying while adding to product bundle along with total count not updated fixed
parent 17a3f323
No related branches found
No related tags found
1 merge request!1044Fixes::158396075::Kaushik::When we import the calendar ,source is updating as crm fixed
......@@ -94,7 +94,7 @@ class Products_ListView_Model extends Vtiger_ListView_Model {
&& ($sourceModule !== 'Products' && $sourceField !== 'productsList')) {
$listQuery .= " LIMIT $startIndex,".($pageLimit+1);
} else {
$listQuery .= " LIMIT $startIndex,".($pageLimit); // select limit was only updating for other modules, the limit was not set.
$listQuery .= " LIMIT $startIndex,".($pageLimit+1); // select limit was only updating for other modules, the limit was not set , cause of 0th index adding +1.
}
$listResult = $db->pquery($listQuery, array());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment