LP 1481441: Improve Hold Failure Messages collab/jboyer/lp1481441_hold_fail_reason
authorJason Boyer <jboyer1@library.in.gov>
Fri, 14 Aug 2015 15:26:54 +0000 (11:26 -0400)
committerJason Boyer <jboyer1@library.in.gov>
Fri, 14 Aug 2015 15:26:54 +0000 (11:26 -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>
Open-ILS/src/templates/opac/parts/place_hold_result.tt2

index 5cf09c1..b593a8e 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 ||
                                                     l(hdata.hold_failed_event.desc) ||
                                                     hdata.hold_failed_event.payload.fail_part ||
                                                     hdata.hold_failed_event.textcode ||