]> git.koha-community.org Git - koha.git/commit
Bug 10452: make AllowHoldsOnDamagedItems control using damaged items to fulfill holds
authorKyle M Hall <kyle@bywatersolutions.com>
Wed, 12 Jun 2013 14:09:25 +0000 (10:09 -0400)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 27 May 2014 14:21:31 +0000 (16:21 +0200)
commitf1dc9f787557bf00404368799155295f14e71a76
treed2e6bc7c82107ec9ba7e93501ec9cbc3d8ea5f7c
parent72938a5078fbdd440cd8beec9ee30df79a75f88d
Bug 10452: make AllowHoldsOnDamagedItems control using damaged items to fulfill holds

AllowHoldsOnDamagedItems will stop item-specific holds from being placed
on damaged items, but does not stop Koha from using damaged items to
fill holds. This seems like incorrect behavior.

Test Plan:
1) Set 'AllowHoldsOnDamagedItems' to "Don't Allow"
2) Pick an item, set it to damaged
3) Place a bib-level hold on this item's record
4) Scan the item though the returns system
5) Koha will ask to use this item to fill the hold, click "ignore"
6) Apply this patch
7) Repeat step 4
8) Koha will not ask to use this item to fill the hold

Signed-off-by: Srdjan <srdjan@catalyst.net.nz>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit cb45d4c2184622e15239077dd1c535a13abc53ce)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
C4/Reserves.pm
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref