[Koha-bugs] [Bug 33080] Add helpers that return result_set for further processing

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Mar 3 19:37:14 CET 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33080

--- Comment #12 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
(In reply to Agustín Moyano from comment #11)
> Hm... maybe you should leave add_pagination_headers as is, and create a new
> helper called something like 'calc_pagination_numbers' that creates total
> numbers and calls add_pagination_headers somehow

I'm pondering an intermediate solution in which parameters can be passed as
now, but there's a fallback to using the stashed values. To put it clear, the
use case that is requiring this is: we need the base total available in
objects.search to be passed to add_pagination_headers later.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list