vtiger Forum Index vtiger
The Honest Open Source CRM
 

Product List
Click here to go to the original topic

 
       vtiger Forum Index -> Code Contributions - 5.0.2
Previous topic :: Next topic  
Author Message
ChrisSchroeder



Joined: 16 Aug 2006
Posts: 22

Posted: Fri Nov 24, 2006 10:06 am    Post subject: Product List  

Hi!

For those of you who have the following problem: In the product list, the "showing"-number indicating the pagination is not correct and not all products are displayed (e.g. "showing 1-35 of 86", 6 products displayed instead of 35, 22 products totally instead of 86):

1) file /modules/CustomView/CustomView.php: line 1439
insert "DISTINCT" after the "select"


2) file /include/utils/ListViewUtils.php: line 1747
same as above, might not be necessary


3) file /modules/poducts/ListView.php: line 125
replace "count(*)" with "count(DISTINCT vtiger_crmentity.crmid)"


Hope this helps someone...
Regards!
Chris
Back to top  
 
       vtiger Forum Index -> Code Contributions - 5.0.2
Page 1 of 1


Powered by phpBB Search Engine Indexer
Powered by phpBB 2.0.15 © 2001, 2002 phpBB Group