[Vtigercrm-commits] [vtiger-commits] r7866 - /vtigercrm/trunk/include/RelatedListView.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Wed Jul 5 09:02:37 EDT 2006


Author: richie
Date: Wed Jul  5 07:02:33 2006
New Revision: 7866

Log:
changes made to fix the relatedlist issue

Modified:
    vtigercrm/trunk/include/RelatedListView.php

Modified: vtigercrm/trunk/include/RelatedListView.php
==============================================================================
--- vtigercrm/trunk/include/RelatedListView.php (original)
+++ vtigercrm/trunk/include/RelatedListView.php Wed Jul  5 07:02:33 2006
@@ -135,7 +135,7 @@
 	
 	//Retreiving the no of rows
 	$count_query = "select count(*) count ".substr($query, stripos($query,'from'),strlen($query));
-	$count_result = $adb->query(substr($count_query, stripos($count_query,'select'),stripos($count_query,'ORDER')));
+	$count_result = $adb->query(substr($count_query, stripos($count_query,'select'),stripos($count_query,'ORDER BY')));
 	$noofrows = $adb->query_result($count_result,0,"count");
 	
 	//Setting Listview session object while sorting/pagination





More information about the vtigercrm-commits mailing list