[Koha-bugs] [Bug 30058] Add a Koha::Patrons method to filter by permissions

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Feb 9 14:44:40 CET 2022


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

--- Comment #1 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
Created attachment 130361
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=130361&action=edit
Bug 30058: Add Koha::Patrons->filter_by_have_subpermission

This method will allow to filter a patron set by a given subpermission.
It will be useful on bug 30055 where we want to display only patron with
suggestion or acquisition subpermission.
Note that it could be extended to allow several subpermissions, but we
don't need it so far.

Test plan:
  prove t/db_dependent/Koha/Patrons.t
must return green

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


More information about the Koha-bugs mailing list