[Koha-bugs] [Bug 30447] New: pendingreserves.pl is checking too many transfers

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Apr 4 14:09:48 CEST 2022


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

            Bug ID: 30447
           Summary: pendingreserves.pl is checking too many transfers
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Circulation
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: nick at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com, kyle.m.hall at gmail.com

Bug 26057 added a 'cancellationdate' column to branchtransfers

The code in pendingreserves.pl checks against transfers like:
'itembib.itemnumber' => { -not_in => \'SELECT itemnumber FROM branchtransfers
WHERE datearrived IS NULL' }

This needs to be updated to:
'itembib.itemnumber' => { -not_in => \'SELECT itemnumber FROM branchtransfers
WHERE datearrived IS NULL AND datecancelled IS NULL' }

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


More information about the Koha-bugs mailing list