]> git.koha-community.org Git - koha.git/commit
Bug 22910: Do not copy unique patron attributes to duplicated patron
authorPasi Kallinen <pasi.kallinen@koha-suomi.fi>
Wed, 29 May 2019 06:20:43 +0000 (09:20 +0300)
committerLucas Gass <lucas@bywatersolutions.com>
Fri, 14 Jun 2019 20:47:14 +0000 (20:47 +0000)
commit4912b870932029a18f3eab52a144f4e6ec960b53
treeda7645953bcb34d8681f3d5350153a5f1a37f356
parent40b4e68ee3ea6631d20644a128b9f215557c2b9a
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.

Signed-off-by: Pasi Kallinen <pasi.kallinen@koha-suomi.fi>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit f3358e97c8a1f9edf1c4de6dea46f70366237699)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 2f9ec9c61fabd7595da594c02a55395564cb2330)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
members/memberentry.pl