SimplePortal

Development => Bugs => Fixed or Bogus Bugs => Topic started by: RaulVK on November 14, 2011, 02:16:21 PM

Title: SP 2.3.4 Pagination articles
Post by: RaulVK on November 14, 2011, 02:16:21 PM
DonĀ“t work articles pagination.
Title: Re: SP 2.3.4 Pagination articles
Post by: [SiNaN] on November 14, 2011, 02:23:35 PM
Congrats! You have found a bug. ;) Not sure how this one got in but here's the fix:

Sources/PortalArticles.php

Code: (Find) [Select]
$context['start'] = !empty($_REQUEST['start']) ? (int) $_REQUEST['start'] : 0;
Code: (Replace) [Select]
$context['start'] = !empty($_REQUEST['articles']) ? (int) $_REQUEST['articles'] : 0;
Sources/Subs-Portal.php

Code: (Find) [Select]
'start' => true,
Code: (Replace) [Select]
'articles' => true,
'start' => true,

Tracked here:

http://simpleportal.net/index.php?issue=449.0
Title: Re: SP 2.3.4 Pagination articles
Post by: [SiNaN] on November 14, 2011, 02:29:52 PM
It's now fixed in SVN.
SimplePortal 2.3.8 © 2008-2024, SimplePortal