]> git.koha-community.org Git - koha.git/commit
Bug 27420: Use object accessor for $attr_type->class()
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 13 Jan 2021 11:22:53 +0000 (11:22 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 19 Jan 2021 14:31:55 +0000 (15:31 +0100)
commit08396d4b2ffe7db4f7550631a751603f01387095
treea8df977c522a7d57d22c6ac1e99749be1c18952e
parent5f448b1a86ff9a27d547e4d93cf84b3752e0201c
Bug 27420: Use object accessor for $attr_type->class()

We introduced a bug in the patron attribute forms with bug 5161.

Test plan
1/ Create two PA_CLASS authorized values
2/ Create two corresponding patron attribute types referencing the above
classes.
3/ Edit a patron, both attributes should appear within their own
fieldsets at the bottom of the member entry form.
4/ Set a value for the first of the two patron attributes and save
5/ Edit the patron again, note that the first attribute no longer
resides within it's own fieldset
6/ Apply the patch
7/ Edit the patron again, note that the first attribute now resides
inside it's own fieldset again
8/ Signoff

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
members/memberentry.pl