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 |
|