Bug 27454: Add sorting of patron attributes
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 18 Jan 2021 10:21:28 +0000 (10:21 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 12 Feb 2021 13:46:17 +0000 (14:46 +0100)
commit2261dad8960808fdff6dc6f5d868481563786727
tree8aaa6afb8bc08a397ce2b5fcb414491743af13ae
parent600825943915f34fdffb58b4a4efb5f7ad45a2cc
Bug 27454: Add sorting of patron attributes

This patch adds sorting on class code for the patrons attributes forms
on the memberentry page.

Test plan
1) Create a couple of different patron attributes
2) Go to the patron add page
3) Note the order in which the patron attributes load at the bottom of
   the page.
4) Reload the page and note the order of those attribues may change (if
   it doesn't, try reloading again.. it's random)
5) Apply the patch
6) Reload the page a few times and confirm the attributes are now
   ordered.
7) Signoff

Signed-off-by: David Nind <david@davidnind.com>
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 0821a5890d98d17b58ffecaebbb02d673a864714)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
members/memberentry.pl