]> git.evergreen-ils.org Git - working/Evergreen.git/commit
LP 1984114: Use Patron Preferred Name in SIP2 responses
authorJason Stephenson <jason@sigio.com>
Tue, 9 Aug 2022 17:09:33 +0000 (13:09 -0400)
committerGalen Charlton <gmc@equinoxOLI.org>
Fri, 28 Oct 2022 00:47:20 +0000 (20:47 -0400)
commit9f396828afd9b6b806746dec1b3f321cb56c5815
tree820e1a72b623eb7fb8a999679eb1e5efc5a19955
parent00d6528742c31a7b04aa876e6e4a471fec8c6bfc
LP 1984114: Use Patron Preferred Name in SIP2 responses

Use a patron's preferred first name, preferred second name, or
preferred family name in SIP2 responses.  If a preferred name field
has no value, then the corresponding regular name field will be used.

To test this patch, you can find a patron with a preferred name field
set and look them up using a Patron Status Request message (23) via
your favorite SIP2 client.  Before applying the patch, the name field
(AE) in the Patron Status Response message (24) will NOT use the
patron's preferred name(s).  After applying the patch and restarting
Evergreen on the server, you repeat the previous Patron Status
Request, and the response will now use the patron's preferred
name(s) in the name field.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Open-ILS/src/perlmods/lib/OpenILS/SIP/Patron.pm