Displays the preferred first or last name on the place holds screen,
if a patron barcode is entered.
To test.
1. Set up a borrower with a preferred first name, and one with a
preferred last name, and one with both.
2. Use the catalog place hold screen to search for these borrowers
and notice that the preferred names, if available, are displayed.
* note newline added by Bill to break up wide column.
Signed-off-by: Garry Collum <gcollum@gmail.com>
Signed-off-by: Mary Llewellyn <mllewell@biblio.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Gina Monti <gmonti@biblio.org>
Signed-off-by: Jason Boyer <JBoyer@equinoxOLI.org>
<ng-container *ngIf="!badBarcode">
<h3 i18n>Place Hold
<small *ngIf="user">
- ({{user.family_name()}}, {{user.first_given_name()}})
+ ({{user.pref_family_name() ? user.pref_family_name() : user.family_name()}},
+ {{user.pref_first_given_name() ? user.pref_first_given_name() :user.first_given_name()}})
</small>
</h3>
</ng-container>