]> git.koha-community.org Git - koha.git/commit
Bug 21456: The 'New authority' button lists authority types inconsistently
authorAndreas Roussos <arouss1980@gmail.com>
Sun, 30 Sep 2018 10:06:28 +0000 (13:06 +0300)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 26 Oct 2018 12:45:08 +0000 (13:45 +0100)
commit1f8356d2df19a704a5a12597a9443eb459941aad
treedfed7c24a7f9e810d78d978b98e37a3f45de38fe
parent50166e670b38f40ae0503c4c6eb6f95fd2ce0d16
Bug 21456: The 'New authority' button lists authority types inconsistently

The 'New authority' button does not always list the available
authority types in A-Z order based on their description.

This patch fixes that.

Test plan:
1) Go to Home > Authorities in the staff client; notice how the
   'New authority' button lists auth types sorted by description.
2) Go to an authority's detail page; notice how the same 'New
   authority' button will list auth types sorted by their code.
3) Apply the patch.
4) In an authority's detail page, the 'New authority' button will
   now list the available authority types sorted by description.

Signed-off-by: Michal Denar <black23@gmail.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit bf7c8303ca7f9e4955f25fc4d1f30d65d8c52dc9)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
authorities/detail.pl