mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-19 23:55:19 +00:00
fix alt_pager to work if item count is higher than page['itemspage'] (threads)
This commit is contained in:
parent
89fc319c90
commit
e6c93e4146
1 changed files with 1 additions and 1 deletions
|
@ -364,7 +364,7 @@ function alt_pager(&$a, $i, $more = '', $less = '') {
|
|||
|
||||
return replace_macros(get_markup_template('alt_pager.tpl'),array(
|
||||
'$has_less' => (($a->pager['page'] > 1) ? true : false),
|
||||
'$has_more' => (($i > 0 && $i == $a->pager['itemspage']) ? true : false),
|
||||
'$has_more' => (($i > 0 && $i >= $a->pager['itemspage']) ? true : false),
|
||||
'$less' => $less,
|
||||
'$more' => $more,
|
||||
'$url' => $url,
|
||||
|
|
Loading…
Reference in a new issue