WIP: Two pagination issue in one page for one query loop

Browser: Chrome 110
OS: macOS / Windows / Linux / etc.
URL: Link to a page that illustrates this issue
Video: Short screen recording that illustrates this issue (free tool: jam.dev)

Hello bricks team

In the WordPress pages or posts section, we see that there are two paginations. One at the top of the page and the other at the bottom of the page. This is very useful in terms of accessibility. Although many may not be interested in it or maybe I will never use it.

In bricks, when we connect two paginations in a loop to achieve the same result, it works as expected if Ajax is disabled. But when we enable Ajax for both pagination, after changing the page, one of the paginator does not recognize the current tab and remains in its previous state.

website link

Hi Jolia,
Thanks so much for your report!

The pagination is treated as a filter; currently, it’s impossible to “sync” two. The same would apply to any of the filter elements if placed twice.

I’ve added your report to the already existing task.

Best regards,
timmse

1 Like

Hi @timmse ,

Has this been fixed now? It is quite normal to have 2 pagination elements, one at the top and one at the bottom.

Thanks,
James

No, it’s still “WIP”, meaning “work in progress” :v:

I think opinions differ… why should I switch to page x right at the start/beginning without knowing what’s on page 1? :thinking: Anyway… we are working on it :slight_smile:

1 Like