[Koha-bugs] [Bug 26297] Rest API: add a route to list patron categories
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Jan 25 18:01:42 CET 2024
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26297
--- Comment #24 from Pedro Amorim <pedro.amorim at ptfs-europe.com> ---
(In reply to Jonathan Druart from comment #21)
> 1. Why Koha/REST/V1/PatronCategories.pm and not under Koha/REST/V1/Patrons?
>
> 2. I think you should return a filtered list using
> Koha::Patron::Categories->search_with_library_limits instead.
1. An oversight, makes much more sense under Koha/REST/V1/Patrons. Patch added.
2. Patch added. It seems there are no tests in Koha for
search_with_library_limits or did I miss it? Opened bug 35910 for that.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list