From: Jason Boyer Date: Fri, 14 Aug 2015 15:26:54 +0000 (-0400) Subject: LP 1481441: Improve Hold Failure Messages X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=8c6d44500a8e668869cb5402991afc6d2bcc9611;p=working%2FEvergreen.git LP 1481441: Improve Hold Failure Messages Rearranging the order of the various sources of hold failure messages makes it less likely to see spurious "Item is too new to transit this far" messages. Now errors due to excessive fines or number of existing holds. Signed-off-by: Jason Boyer Signed-off-by: Mike Rylander Conflicts: Open-ILS/src/templates/opac/parts/place_hold_result.tt2 --- diff --git a/Open-ILS/src/templates/opac/parts/place_hold_result.tt2 b/Open-ILS/src/templates/opac/parts/place_hold_result.tt2 index 50c20ddc54..87fca56c72 100644 --- a/Open-ILS/src/templates/opac/parts/place_hold_result.tt2 +++ b/Open-ILS/src/templates/opac/parts/place_hold_result.tt2 @@ -88,8 +88,8 @@ # display: (hdata.age_protect ? l("All available copies are temporarily unavailable at your pickup library. Placing this hold could result in longer wait times.") : - FAIL_PART_MSG_MAP.$fail_part_key || EVENT_MSG_MAP.$event_key || + FAIL_PART_MSG_MAP.$fail_part_key || (hdata.hold_failed_event.desc ? l(hdata.hold_failed_event.desc) : '') || hdata.hold_failed_event.payload.fail_part || hdata.hold_failed_event.textcode ||