https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25870
--- Comment #32 from Tomás Cohen Arazi <[email protected]> --- (In reply to Hammat wele from comment #31) > Created attachment 148247 [details] [review] > Bug 25870: (follow-up) Adding pagination information on the headers, returns > an empty result when the query is empty Well :-D You are extracting pagination parameters from the (HTTP) query, good. But they are not being passed to the backend (in the form of offset + limit I think, as they should. Also, you need to know that the add_pagination_headers helper needs two totals: - the page total if the query is paginated (it would always be the case) - the total records from which the page was taken (base_total). -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
