Preferred Name Not a Display Option on Hold Shelf

Bug #1838553 reported by Jennifer Pringle
62
This bug affects 12 people
Affects Status Importance Assigned to Milestone
Evergreen
Fix Released
Medium
Unassigned
3.8
Fix Released
Medium
Unassigned
3.9
Fix Released
Medium
Unassigned

Bug Description

Evergreen 3.3.0

In the Hold Shelf columns the User Display Name uses the Primary First, Middle, and Last names. There is currently no column for displaying preferred name.

If staff are phoning users about holds they likely want to use the name the user prefers.

I think either the User Display Name should use preferred name and default back to primary name if there is no preferred name or preferred name should be a separate column and User Display Name should be renamed to something like User Primary Name.

Revision history for this message
Jennifer Pringle (jpringle-u) wrote :

Preferred name continues to not be available in the hold shelf columns in 3.7

Revision history for this message
Ryan Eby (aadl-ubuntu) wrote :

I'm not sure if there are other locations or side effects but it appears that this data is drawn from wide_hold_data at https://git.evergreen-ils.org/?p=Evergreen.git;a=blob;f=Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/action.pm;hb=44c451131a1d43cb04bd069fe0b5372073c1f8d3#l2277

We modified our install with the following patch to use the preferred name for display name if it exists (coalesce).

Dan Briem (dbriem)
tags: added: circ-holds
removed: holds
tags: added: webstaffcolumns
Changed in evergreen:
status: New → Confirmed
Revision history for this message
Terran McCanna (tmccanna) wrote :

Ryan, could you please create a git branch for your patch?

Evergreen-specific instructions are here for configuring git: https://wiki.evergreen-ils.org/doku.php?id=newdevs:git:install

Revision history for this message
Terran McCanna (tmccanna) wrote :
tags: added: pullrequest
Revision history for this message
Gina Monti (gmonti90) wrote (last edit ):

I, Gina Monti, sign off on this bug.

At first I reported that it didn't work under the 'User Alias or Display Name' column but it does reflect under the 'User Display Name' column. Maybe we should get rid of the 'User Alias or Display Name' column for the sake of clarity? Might be confusing to staff especially if they display different names.

tags: added: signedoff
Revision history for this message
Jennifer Pringle (jpringle-u) wrote :

I think User Alias or Display Name is still needed on the Hold Shelf so staff can see what aliases are being used, if they use that functionality. It corresponds to the OPAC/Staff Client Holds Alias field in the patron account where staff can set something different from the name the patron uses if they don't want it appearing on a public holds shelf.

Revision history for this message
Joan Kranich (jkranich) wrote :

We have some libraries at C/W MARS that use the Alias so I agree with keeping it as a display option.

Changed in evergreen:
milestone: none → 3.10-beta
Revision history for this message
Michele Morgan (mmorgan) wrote :

Pushed to master, rel_3_9 and rel_3_8.

I took the liberty of applying the same changes to the 'User Alias or Display Name' field so that the preferred name will also display (if one exists) when the patron has no Alias.

Thanks Ryan, Terran and Gina!

Changed in evergreen:
status: Confirmed → Fix Committed
importance: Undecided → Medium
Changed in evergreen:
status: Fix Committed → Fix Released
Revision history for this message
Jeff Davis (jdavis-sitka) wrote (last edit ):

I think this bugfix leads to a further problem: any non-null values, *including empty strings*, in the alias and preferred name fields now get displayed in the Hold Shelf grid (and anywhere else that wide_hold_data is used).

So, for example, if you go into the patron editor, add an alias, delete the alias, and click Save, the alias is now an empty string (not null) -- which means the User Alias or Display Name column on the Hold Shelf will always appear blank. This is also true for preferred names and the User Display Name column. The Hold Shelf ought to treat empty strings in these fields as if they were null.

I've opened bug 1996651 about this issue.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.