[Koha-bugs] [Bug 22910] Do not copy unique patron attributes to duplicated patron

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed May 29 08:22:26 CEST 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22910

paxed <pasi.kallinen at koha-suomi.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #89783|0                           |1
        is obsolete|                            |

--- Comment #8 from paxed <pasi.kallinen at koha-suomi.fi> ---
Created attachment 90173
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=90173&action=edit
Bug 22910 - Do not copy unique patron attributes to duplicated patron

When creating a new patron by duplicating another, all of the patron
attributes are also copied into the form. Some of those value may be
unique, so don't copy those.

1) Create patron attribute types, one with "unique identifier", one without.
2) Create or a patron so it has values in both of those attributes.
3) Duplicate the patron
4) The edit form should retain the values from the "original" patron.
5) Apply patch.
6) Duplicate the patron - this time the attributes with unique values
   are cleared.


For some reason, on some environments the op-variable cannot be seen inside
the patron_attributes_form, so just pass it in as a parameter.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list