NO BUG: Pagination doesn't update with use of filters

Browser: Chrome 124.0.6367.119 (Official Build) (64-bit)
OS: Windows 10 Home
URL: Sample AI Articles | Content Sprout

If you add a filter to a query, and you have pagination added, if the filter is used the pagination doesn’t reflect the filtered results. Not sure if this is expected or not. Is there any way to address this so that the pagination is clearer to the user what it relates to? What happens if the filtered results exceed the “per page” quatity and requires pagination to view the remaining results? How do we address that?

Hi @ChrisCastillo ,

If you want the pagination to work together with the Query filters, please turn on AJAX for the pagination element.
Let me know if it works.

Regards,
Jenn

I think this worked. Thanks!

1 Like

Hi @itchycode, I couldn’t find how/where to enable AJAX for the pagination element. I’m using Bricks v1.12 beta, maybe that option changed or was removed since 1.9.7?

Maybe inside query loop settings

HI @matutino,

you can enable it at the bottom of the settings:

Regards,
Matej

2 Likes

Thanks @Matej , but for some reason that option is not displaying on my Bricks builder:

Do you have any idea why?

(I’m using Bricks v1.12 beta)

Hi @matutino ,

You cannot scroll more to the bottom after Mid Size?

Seems like certain plugin’s CSS causing it not scrollable.

Or you can try deactivating plugins and try again. You can also try in an incognito browser to avoid any browser extension or browser cache.

Regards,
Jenn

Thank you @itchycode for your reply.
I found out it was not related to any plugin but just that I first had to select, at the top of the element settings, a target query different to “Main query”. Once selected the AJAX setting appears at the bottom.

Thanks again, have a nice day!

1 Like