configurable patron name formatting in SIP

Bug #1013827 reported by Jason Etheridge
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Evergreen
Confirmed
Wishlist
Unassigned

Bug Description

After having changed this subroutine in SIP/Patron.pm for a customer, we thought it may be worthwhile to make this more easily configurable:

sub format_name {
    my $u = shift;
    return OpenILS::SIP::clean_text(
        sprintf('%s %s %s',
            ($u->first_given_name || ''),
            ($u->second_given_name || ''),
            ($u->family_name || '')));
}

So, for now, this ticket is a placeholder indicating that desire. If someone wants to jump on it, feel free! :D

-- Jason

Tags: sip
Jeff Godin (jgodin)
tags: added: sip
Changed in evergreen:
importance: Undecided → Wishlist
Changed in evergreen:
status: New → Incomplete
Changed in evergreen:
status: Incomplete → Triaged
Revision history for this message
Terran McCanna (tmccanna) wrote :

It would be nice to be able to more easily configure the name (and other SIP messages) in the staff interface. Noting that name would also need to include preferred name options now, which weren't available at the time of the original wish list report.

Changed in evergreen:
status: Triaged → Confirmed
Revision history for this message
Jason Stephenson (jstephenson) wrote :

Patron preferred name was added to SIP responses with the release of Evergreen 3.10 via bug 1984114.

I agree that more configurability in SIP responses would be desirable.

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.