How to change the limit of 100 links in pagination osclass

How to change the limit of 100 links in pagination

1. Please editing In oc-includes/osclass/model/Search.php at around line 943 (could be different since I’ve got the development version) you will find something like this :

if($count) {
$this->dao->limit(100*$this->results_per_page) ;
} else {
$this->dao->limit( $this->limit_init, $this->results_per_page);
}

Change that 100 for the max. number of pages you do want, remove the 100* if you don’t want any limit.

Top