Skip to main content
← Data, API & Backend
Data, API & Backend February 11, 2025 · 3 replies

Pagination+firebase

Archived from the Bravo community forum (2021–2026). Some answers may refer to older versions of Bravo.

I have a firebase cloud function that display a filtered list of items.
I want to paginate the list but Bravo is not sending any pagination data…
is a POST request and I get the first 10 items but not refreshing other items on scroll.
Why?

3 replies

Riccardo February 11, 2025

I logged the URL
and the only parameter passed by Bravo is hitsPerPage=10

Why??

Function execution started

filter_items-filterItemsxsu899cldjgv === Request Details ===

filter_items-filterItemsxsu899cldjgv Method: POST

filter_items-filterItemsxsu899cldjgv URL: /?hitsPerPage=5

Toby Oliver Bravo team February 11, 2025

Hi,

I think the problem is that you are using a POST request Bravo only paginates GET requests, if you can change the method then pagination should work.

Thanks,

Toby

Riccardo February 18, 2025

Hi,
I tried also with GET but is still not working:
=== Request Details ===

filter_items-filterItemsdmas5ze4ebeh Method: GET

filter_items-filterItemsdmas5ze4ebeh URL: /?hitsPerPage=10

Wrote something in this thread and want it removed? Request removal

Still stuck?

Ask the community on Discord

This archive is read-only. New questions, office hours and product updates now happen in the Bravo Discord.

Join the Discord