Preferred name not listed as available to receipts

Bug #1841635 reported by Lindsay Stratton
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Evergreen
Fix Committed
Medium
Unassigned
3.10
Fix Committed
Medium
Unassigned

Bug Description

Testing 3.3.2

Preferred name does not seem to be available to receipts, specifically looking at Hold Shelf Slip.

Ideally the slip would print the preferred name instead of the primary name when a record includes a preferred name.

Revision history for this message
Terran McCanna (tmccanna) wrote :

I don't have a 3.3.2 server but these are working for me on 3.2.3 - did they get lost between versions?

patron.pref_first_given_name
patron.pref_second_given_name
patron.pref_family_name

tags: added: printing
Revision history for this message
Lindsay Stratton (lstratton) wrote :

Just tested -

patron.pref_first_given_name
patron.pref_second_given_name
patron.pref_family_name

They do all work in 3.3.2, but the column names aren't listed in the "Fields include" section of any templates or documentation (beyond a parenthetical in the 3.2 release notes).

Revision history for this message
Terran McCanna (tmccanna) wrote :

I've tagged this for documentation updates.

This is the documentation we wrote for the PINES libraries if it is helpful: https://pines.georgialibraries.org/dokuwiki/doku.php?id=admin:workstations:receipt-content

tags: added: documentation
removed: printing
summary: - Preferred name not available to receipts
+ Preferred name not listed as available to receipts in docs
Revision history for this message
Terran McCanna (tmccanna) wrote : Re: Preferred name not listed as available to receipts in docs

Undoing my comment #3:

Noting that the preferred name fields *are* listed in the print template for checkout, but *not* for the other print templates.

summary: - Preferred name not listed as available to receipts in docs
+ Preferred name not listed as available to receipts
tags: added: printing
Gina Monti (gmonti90)
Changed in evergreen:
assignee: nobody → Gina Monti (gmonti90)
Revision history for this message
Gina Monti (gmonti90) wrote :

Here's a pull request but needs review if the simple macros added are enough:

https://github.com/evergreen-library-system/Evergreen/pull/225

I did try to work these into a hold slip template but found the alias is kind of built into ours.

If anyone has an example they'd like to share, please do.

tags: added: pullrequest
Revision history for this message
Jane Sandberg (sandbergja) wrote :

Thanks, Gina. I pushed your documentation change to rel_3_10 and above.

tags: added: signedoff
Changed in evergreen:
assignee: Gina Monti (gmonti90) → nobody
milestone: none → 3.11.2
status: New → Fix Committed
importance: Undecided → Medium
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.