https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22910
paxed <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #89783|0 |1 is obsolete| | --- Comment #8 from paxed <[email protected]> --- 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. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
