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

--- Comment #24 from Pedro Amorim <[email protected]> ---
(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.
_______________________________________________
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/

Reply via email to