mirror of
https://github.com/friendica/friendica
synced 2025-04-22 11:10:11 +00:00
comment collapsing, pagination wasn't advancing past 16
This commit is contained in:
parent
76918ed5a5
commit
c962f5c4bc
3 changed files with 122 additions and 21 deletions
3
boot.php
3
boot.php
|
@ -1068,6 +1068,7 @@ function paginate(&$a) {
|
|||
$stripped = preg_replace('/(&page=[0-9]*)/','',$a->query_string);
|
||||
$stripped = str_replace('q=','',$stripped);
|
||||
$stripped = trim($stripped,'/');
|
||||
$pagenum = $a->pager['page'];
|
||||
$url = $a->get_baseurl() . '/' . $stripped;
|
||||
|
||||
|
||||
|
@ -1080,7 +1081,7 @@ function paginate(&$a) {
|
|||
|
||||
$numpages = $a->pager['total'] / $a->pager['itemspage'];
|
||||
|
||||
$numstart = 1;
|
||||
$numstart = 1;
|
||||
$numstop = $numpages;
|
||||
|
||||
if($numpages > 14) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue