Customizing booking order and pagination limit in vendor account page

Hi HivePress Team,

I’m using HivePress with the Bookings extension and I need to customize the booking list in the vendor account page (/account/bookings/).

Specifically, I need to:

Order bookings by creation date (newest first) - Currently they appear in a different order, and I want them sorted by post_date DESC.

Increase the number of bookings per page - I would like to display all bookings on a single page (or at least 100 per page) instead of the default 10.

I have tried the following approaches but none worked:

Using pre_get_posts to modify the main query

Using hivepress/v1/models/booking/query filter with posts_per_page and orderby

Using hivepress/v1/controllers/booking/account_bookings/query filter with limit

Using posts_orderby filter to force SQL ordering

The booking list seems to ignore these filters, and the pagination URLs (/account/bookings/page/2/) redirect to login when accessed via AJAX.

Could you please provide the correct hooks or methods to:

Modify the default ordering of bookings in the vendor account

Increase the posts_per_page / limit for the booking list query

Thank you for your help.

Best regards

Hi,

At the moment, there are no built-in options for sorting or controlling the number of bookings displayed per page. This functionality can be achieved with customization.

If you need developer guidance, please make sure to have an active support or consider renewing it: Renew Support | HivePress, as such assistance falls outside of general support: Support Policy | HivePress.

P.S. Please note that we will move this topic to the Bookings category since it is related to a premium product. Thank you for your understanding.