]> git.koha-community.org Git - koha.git/commit
Bug 18015 - On shelf holds allowed > "If all unavailable" ignores notforloan
authorMirko Tietgen <mirko@abunchofthings.net>
Mon, 30 Jan 2017 14:59:59 +0000 (15:59 +0100)
committerKatrin Fischer <katrin.fischer.83@web.de>
Tue, 7 Feb 2017 21:17:45 +0000 (22:17 +0100)
commitadd14acd9f197ac91ef37d4720d3486c67f3b841
tree08a863b43e93e8fece49189f13212a1b06270809
parent0e50ef7c2afad535a42e428c3a3f92341465ae83
Bug 18015 - On shelf holds allowed > "If all unavailable" ignores notforloan

If in the circ rules matrix you set "On shelf holds allowed" to "If all unavailable",
items with status "Not for loan" are considered available and break the functionality.

Test plan:

- Set "On shelf holds allowed" to "If all unavailable" for your patron and item
  category (or everyone and everything)
- Have two items for a record. Check out one
- Set 7 - Not for loan: "Not For Loan" for the second item
- Try to place a hold. Does not work.

- Apply the patch
- Try to place a hold. Should work now.

Signed-off-by: Claire Gravely <claire_gravely@hotmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 844cf7a748c2b4f567bec2e5088665a9edf94468)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
C4/Reserves.pm