Browse Source
Koha::Patron::Attributes->search mimicks what is done in Koha::AuthorisedValues->search. But actually it should be more explicit when the caller use it. For instance filter_by_branch_limitation (see discussion on bug 11983). This will be useful for the following patches as we will need a way to replace the $no_branch_limit flag. When the $no_branch_limit flag is called, a simple ->search call should be done. When we want to limit on a specific library we can pass the branchcode in paramter of filter_by_branch_limitation (this is not used yet). If not passed the logged-in user library will be used by default. Signed-off-by: Nick Clemens <nick@bywatersolutions.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>20.05.x
2 changed files with 58 additions and 26 deletions
Loading…
Reference in new issue