From 8c6d44500a8e668869cb5402991afc6d2bcc9611 Mon Sep 17 00:00:00 2001 From: Jason Boyer Date: Fri, 14 Aug 2015 11:26:54 -0400 Subject: [PATCH] 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 --- Open-ILS/src/templates/opac/parts/place_hold_result.tt2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 || -- 2.11.0