Skip to content
Snippets Groups Projects

Fix bug #262: Listview Back Button doesn't work.

Merged Alan Lord requested to merge lord_alan/vtigercrm:262_FixListViewBackButton into master
+ 4
2
Compare changes
  • Side-by-side
  • Inline
@@ -122,6 +122,9 @@ class Vtiger_Paging_Model extends Vtiger_Base_Model {
$rangeInfo = array();
$recordCount = count($recordList);
$pageLimit = $this->getPageLimit();
$this->set('prevPageExists', true);
if( $recordCount > 0) {
//specifies what sequencce number of last record in prev page
$prevPageLastRecordSequence = (($this->getCurrentPage()-1)*$pageLimit);
@@ -149,4 +152,4 @@ class Vtiger_Paging_Model extends Vtiger_Base_Model {
return $this;
}
}
\ No newline at end of file
}
Loading