LP1924621 Place Hold For shows pref name
authorBill Erickson <berickxx@gmail.com>
Mon, 20 Sep 2021 15:55:00 +0000 (11:55 -0400)
committerJason Boyer <JBoyer@equinoxOLI.org>
Thu, 23 Sep 2021 18:52:33 +0000 (14:52 -0400)
In the staff catalog banner which displays when a hold is being placed
for a pre-selected patron.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jason Boyer <JBoyer@equinoxOLI.org>
Open-ILS/src/eg2/src/app/staff/catalog/catalog.component.html

index 79d5073..17c7ffb 100644 (file)
@@ -7,7 +7,8 @@
       <span class="mt-2" i18n>
         Placing hold for patron 
         <a href="/eg/staff/circ/patron/{{holdForUser().id()}}/holds">
-          {{holdForUser().family_name()}}, {{holdForUser().first_given_name()}}
+          {{holdForUser().pref_family_name() || holdForUser().family_name()}}, 
+          {{holdForUser().pref_first_given_name() || holdForUser().first_given_name()}}
         </a>.
       </span>
     </div>