LP1951996 Preferred names in group member details
authorGarry Collum <gcollum@gmail.com>
Mon, 29 Nov 2021 19:44:17 +0000 (14:44 -0500)
committerJane Sandberg <js7389@princeton.edu>
Thu, 27 Oct 2022 23:37:17 +0000 (16:37 -0700)
Adds columns for preferred family, middle, and first names to group member
details.  These added columns are hidden by default.

To test:
1. In a patron's record add a preferred first, middle, and last name.
2. Go to Other - Group member details and notice that there are no columns
   for preferred.
3. Apply patch.
4. Go to group member details and use the drop-down to display the preferred
   columns.
5. Add some more patrons to the group for good measure.

Signed-off-by: Garry Collum <gcollum@gmail.com>
Signed-off-by: Gina Monti <gmonti@biblio.org>
Signed-off-by: Jane Sandberg <sandbergja@gmail.com>
Open-ILS/src/templates/staff/circ/patron/t_group.tt2

index 30ab88d..f36254e 100644 (file)
@@ -42,7 +42,9 @@
   <eg-grid-field path="stats.fines.balance_owed" nonsortable label="[% l('Balance Owed') %]"></eg-grid-field>
   <eg-grid-field path="stats.checkouts.out" nonsortable label="[% l('Items Out') %]"></eg-grid-field>
   <eg-grid-field path="stats.checkouts.overdue" nonsortable label="[% l('Items Overdue') %]"></eg-grid-field>
-
+  <eg-grid-field path="pref_family_name" hidden></eg-grid-field>
+  <eg-grid-field path="pref_first_given_name" hidden></eg-grid-field>
+  <eg-grid-field path="pref_second_given_name" hidden></eg-grid-field>
   <!-- needed for query, sorting -->
   <eg-grid-field path="id" hidden required></eg-grid-field>
   <eg-grid-field path="usrgroup" hidden required></eg-grid-field>