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

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Tue Jun 20 08:42:03 EDT 2006


Author: saraj
Date: Tue Jun 20 06:41:55 2006
New Revision: 7296

Log:
data disappears while sorting - issue fixed. Fixes #1296, and refs #1296

Modified:
    vtigercrm/trunk/include/RelatedListView.php

Modified: vtigercrm/trunk/include/RelatedListView.php
==============================================================================
--- vtigercrm/trunk/include/RelatedListView.php (original)
+++ vtigercrm/trunk/include/RelatedListView.php Tue Jun 20 06:41:55 2006
@@ -129,8 +129,8 @@
 	//Retreiving the no of rows
 	$noofrows = $adb->num_rows($list_result);
 	
-	//Storing Listview session object
-	if(isset($_REQUEST['relmodule']) && $_REQUEST['relmodule']!='')
+	//Setting Listview session object while sorting/pagination
+	if(isset($_REQUEST['relmodule']) && $_REQUEST['relmodule']!='' && $_REQUEST['relmodule'] == $relatedmodule)
 	{
 		$relmodule = $_REQUEST['relmodule'];
 		if($_SESSION['rlvs'][$module][$relmodule])





More information about the vtigercrm-commits mailing list