Improve the JS pagination to handle the case when the `X-Total` and `X-Total-Pages` headers aren't present
requested to merge 57991-frontend-pagination-needs-to-handle-cases-where-the-x-total-pages-header-isn-t-present into master
What does this MR do?
This improves the JS pagination to handle the case when the X-Total
and X-Total-Pages
headers aren't present.
Screenshots
X-Total
and X-Total-Pages
present
With the
X-Total
and X-Total-Pages
missing
With the What are the relevant issue numbers?
Closes #57991 (closed).
Does this MR meet the acceptance criteria?
-
Changelog entry added, if necessary -
Documentation created/updated via this MR -
Documentation reviewed by technical writer or follow-up review issue created -
Tests added for this feature/bug -
Tested in all supported browsers -
Conforms to the code review guidelines -
Conforms to the merge request performance guidelines -
Conforms to the style guides -
Conforms to the database guides -
Security reports checked/validated by reviewer
Edited by Rémy Coutable