[Vtigercrm-commits] [vtiger-commits] r9048 - /vtigercrm/trunk/include/utils/ListViewUtils.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Mon Aug 21 06:28:55 EDT 2006
Author: saraj
Date: Mon Aug 21 04:28:51 2006
New Revision: 9048
Log:
Retained navigation page after sorting. Fixes #1923
Modified:
vtigercrm/trunk/include/utils/ListViewUtils.php
Modified: vtigercrm/trunk/include/utils/ListViewUtils.php
==============================================================================
--- vtigercrm/trunk/include/utils/ListViewUtils.php (original)
+++ vtigercrm/trunk/include/utils/ListViewUtils.php Mon Aug 21 04:28:51 2006
@@ -162,13 +162,13 @@
$lbl_name .=': (in '.$curr_symbol.')';
}
if($relatedlist !='' && $relatedlist != 'global')
- $name = "<a href='index.php?module=".$relatedmodule."&action=CallRelatedList&relmodule=".$module."&order_by=".$col."&record=".$relatedlist."&sorder=".$temp_sorder."' class='listFormHeaderLinks'>".$lbl_name." ".$arrow."</a>";
+ $name = "<a href='index.php?module=".$relatedmodule."&action=CallRelatedList&relmodule=".$module."&order_by=".$col."&record=".$relatedlist."&sorder=".$temp_sorder."&start=".$_SESSION["rlvs"][$relatedmodule][$module]["start"]."' class='listFormHeaderLinks'>".$lbl_name." ".$arrow."</a>";
elseif($module == 'Users' && $name == 'User Name')
$name = "<a href='javascript:;' onClick='getListViewEntries_js(\"".$module."\",\"order_by=".$col."&sorder=".$temp_sorder."".$sort_qry."\");' class='listFormHeaderLinks'>".$mod_strings['LBL_LIST_USER_NAME_ROLE']." ".$arrow."</a>";
elseif($relatedlist == "global")
$name = $lbl_name;
else
- $name = "<a href='javascript:;' onClick='getListViewEntries_js(\"".$module."\",\"order_by=".$col."&sorder=".$temp_sorder."".$sort_qry."\");' class='listFormHeaderLinks'>".$lbl_name." ".$arrow."</a>";
+ $name = "<a href='javascript:;' onClick='getListViewEntries_js(\"".$module."\",\"order_by=".$col."&start=".$_SESSION["lvs"][$module]["start"]."&sorder=".$temp_sorder."".$sort_qry."\");' class='listFormHeaderLinks'>".$lbl_name." ".$arrow."</a>";
$arrow = '';
}
else
More information about the vtigercrm-commits
mailing list