[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
Mon Sep 25 21:02:41 CEST 2023


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

--- Comment #13 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 156185
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=156185&action=edit
[ALTERNATE] Bug 34277: Add a way to filter patrons by their outstanding balance

This patch adds to new `query parameters` to the `GET /patrons` route:

* owes_less_than
* owes_more_than

This parameters will be used to build a query, based on
Koha::Patrons->filter_by_amount_owed, to return only patrons matching
the criteria.

FIXME: Tests missing yet

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


More information about the Koha-bugs mailing list