]> 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)
committerAndrew Fuerste-Henry <andrew@bywatersolutions.com>
Fri, 22 Jan 2021 14:05:14 +0000 (14:05 +0000)
commitba91d3ee51f6acb23706d39f17ac8d688bc0227c
tree7129338f4b997a38afa13ae3706bf5224a898aa3
parentb7709b69cff5828769e0fdddb001e46e7eb32045
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>
(cherry picked from commit 08396d4b2ffe7db4f7550631a751603f01387095)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 2cb36767ad9aa80f72b1e3b6aaecaf180f4bcbeb)

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
members/memberentry.pl