[Koha-bugs] [Bug 34277] Add an API endpoint to return all patrons with outstanding charges
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Sep 14 20:00:31 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34277
--- Comment #11 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Can't we simplify it like
GET /patrons?with_outstanding_debts=1
x-koha-embed: balance
This way you will benefit from things like pagination, etc. Your current
approach just returns the whole resultset, which could still be done with
GET /patrons?with_outstanding_debts=1&_per_page=-1
x-koha-embed: balance
My two cents.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list