Bug with my pagination code

  • Thread starter Thread starter Lee
  • Start date Start date

Lee

Guest
Member
I am having an issue with my pagination code.

In my template I have:

HTML:

Code:
<xf:pagenav link="mood-tracker" page="{$page}" perpage="{$perPage}" total="{$total}" params="{$filters}"
        wrapperclass="block-outer block-outer--after" />

Route is set like this: :int<mood_id>/:page

Index Controller:

PHP:

Code:
public function actionIndex(ParameterBag $params)
    {
        $visitor = \XF::visitor();
    
        // Fetch filters from the request
        $filters = $this->filter([...

Read more
Bug with my pagination code

free plugins
minecraft paid for free
mcmarket
mc-market
free minecraft paid plugins
free minecraft plugins
spigotmc
SpigotMC
aac free
ewg free
Minecraft Premium Plugins
ewg free download
litebans free
epicworldgenerator free
free schematics
leaked schematics minecraft
schematics
schematics leaked
schematics free
minecraft schematics free
paid minecraft schematics free
paid minecraft schematics for free
free cracked plugins
free cracked minecraft plugins
plugins
featherboard download
featherboard plugin download
antiaura download
xenforo leaked
xenforo for free
xenforo addons
 
Top