Skip to content
Snippets Groups Projects
Commit 8bb10bce authored by Prasad's avatar Prasad
Browse files

Merge branch '262_FixListViewBackButton' into 'master'

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

Simple commit to fix the Back Button not working in 6.5.0

See merge request !115
parents d5569dcd c57249e7
No related branches found
No related tags found
No related merge requests found
......@@ -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
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment