Wish List: Copy more fields when using save & clone
Bug #1857353 reported by
Terran McCanna
This bug affects 11 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
New
|
Wishlist
|
Unassigned |
Bug Description
Since thepatron Save & Clone option is typically used when adding children accounts from a parent's account, our libraries request that the phone number and email address are copied from the parent account when cloning. Our staff feel that it would be more efficient to delete/modify phone numbers and email addresses from the child accounts that have different info than it is to re-enter or copy and paste all of the phone numbers and email addresses that are the same.
To post a comment you must log in.
If anyone wants to adjust which fields get cloned locally, there is a list of which fields to clone at /git.evergreen- ils.org/ ?p=Evergreen. git;a=blob; f=Open- ILS/web/ js/ui/default/ staff/circ/ patron/ regctl. js;hb=HEAD# l989
https:/
I'm on an old version, so I'm not sure if this still applies to the newest interfaces.
I just tried adding
'email',
'alert_message',
'guardian',
'family_name',
and those worked fine.
It looks like the user permission profile was intended to be cloned, but wasn't changed after the line was copied from a different function.
if (user.profile) user.profile = egCore. env.pgt. map[user. profile] ; user.profile( )) user.profile = egCore. env.pgt. map[clone_ user.profile( )];
should be
if (clone_
I'm looking into how the patron preferences and stat cats can be cloned.
Josh