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)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 10 Mar 2014 18:15:12 +0000 (18:15 +0000)
commitcb45d4c2184622e15239077dd1c535a13abc53ce
tree4a8584b113985f501fca111ea429ac5b99ed94fc
parente0b13056b24655e52bb80543995ff9efe0470e34
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>
C4/Reserves.pm
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref