Compare commits
2 Commits
1f53689e4b
...
35cb6798c8
Author | SHA1 | Date | |
---|---|---|---|
35cb6798c8 | |||
54ead63ac4 |
@ -155,6 +155,7 @@ class PageIndex
|
||||
|
||||
public function getLink($start = null, $order = null, $dir = null)
|
||||
{
|
||||
echo $start, "\n";
|
||||
$page = !is_string($start) ? ($start / $this->items_per_page) + 1 : $start;
|
||||
$url = $this->base_url . str_replace('%PAGE%', $page, $this->page_slug);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user