LP 1481441: Improve Hold Failure Messages
authorJason Boyer <jboyer1@library.in.gov>
Fri, 14 Aug 2015 15:26:54 +0000 (11:26 -0400)
committerMike Rylander <mrylander@gmail.com>
Tue, 9 Aug 2016 16:12:01 +0000 (12:12 -0400)
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 <jboyer@library.in.gov>
Signed-off-by: Mike Rylander <mrylander@gmail.com>

Conflicts:
Open-ILS/src/templates/opac/parts/place_hold_result.tt2

Open-ILS/src/templates/opac/parts/place_hold_result.tt2

index 50c20dd..87fca56 100644 (file)
@@ -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 ||