]> git.koha-community.org Git - koha.git/commit
Bug 24705: Holds placed via SIP will be given first priority
authorKyle M Hall <kyle@bywatersolutions.com>
Fri, 21 Feb 2020 14:41:27 +0000 (09:41 -0500)
committerJoy Nelson <joy@bywatersolutions.com>
Wed, 1 Apr 2020 19:02:09 +0000 (19:02 +0000)
commite41f2c9824a150d293cffd62de3e3c32d8bc809e
tree7b566c0856402759e2e88a337d5f998db21089ae
parent8c8053d9e7df577340f2a8112478dfd35530da54
Bug 24705: Holds placed via SIP will be given first priority

The SIP server does not calculate and pass a priority to AddReserve, which causes the hold to be given priority 1.

Test Plan:
1) Place a hold via SIP for a record with existing holds
2) Note the new hold is top priority
3) Apply this patch
4) Restart SIP
5) Repeat step 1
6) New hold should be last priority

Signed-off-by: Christofer Zorn <Christofer.Zorn@ajaxlibrary.ca>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
C4/SIP/ILS/Transaction/Hold.pm