[Koha-bugs] [Bug 34480] New: Reduce DB calls when importing patrons

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Aug 4 20:20:25 CEST 2023


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

            Bug ID: 34480
           Summary: Reduce DB calls when importing patrons
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Tools
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: nick at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org

sub check_branch_code {
sub check_borrower_category {

Both do a search of the db based on the values in the import file for each
borrower - it seems we could lookup the allowed values once and cache them?

We also fetch the category another time to get the expiratoin date, it feels
like we could store these early on.

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


More information about the Koha-bugs mailing list