[Koha-bugs] [Bug 28973] Improve Koha::Patron::can_see_patron_infos efficiency

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Sep 8 14:32:41 CEST 2021


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

--- Comment #1 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 124654
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=124654&action=edit
Bug 28973: Improve Koha::Patron::can_see_patron_infos efficiency

The method can_see_patron_infos looks up a row in the branches table by
branchcode just to get the branchcode it already has. This seems inefficient.

Test Plan:
1) Apply this patch
2) No changes should be noted

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


More information about the Koha-bugs mailing list