From 1c1bc36222e90f34a94e6ba38c8daf7f90775283 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Sun, 16 Sep 2018 18:48:59 -0400 Subject: [PATCH] LP#1792484 Patron preferred name in hold shelf dialog Display the patron preferred name in addition to the primary name in the route-to-holds-shelf dialog. As with primary name, preferred name is hidden when an alias is applied. To test [1] Add a primary first, middle, and/or last name value to a patron. [2] Place a hold for the patron with the pickup library matching the login library. [2] Capgture the hold via the Checkin interface (instead of the hold capture interface) and note the preferred name display. Signed-off-by: Bill Erickson Signed-off-by: Kathy Lussier --- Open-ILS/src/templates/staff/circ/share/t_hold_shelf_dialog.tt2 | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Open-ILS/src/templates/staff/circ/share/t_hold_shelf_dialog.tt2 b/Open-ILS/src/templates/staff/circ/share/t_hold_shelf_dialog.tt2 index 9611f99884..bb26ff4ce0 100644 --- a/Open-ILS/src/templates/staff/circ/share/t_hold_shelf_dialog.tt2 +++ b/Open-ILS/src/templates/staff/circ/share/t_hold_shelf_dialog.tt2 @@ -45,6 +45,15 @@ {{patron.first_given_name}} {{patron.second_given_name}} [% END %] +
+
+ [% l('Preferred name: [_1], [_2] [_3]', + '{{patron.pref_family_name || patron.family_name}}', + '{{patron.pref_first_given_name || patron.first_given_name}}', + '{{patron.pref_second_given_name}}') + %] +
+
[% l('Patron Barcode:') %] {{patron.card.barcode}} -- 2.11.0