Bug 15337: Make itemtypes retrieved with GetItemTypes ordered by descriptions
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 5 Jan 2016 14:25:35 +0000 (14:25 +0000)
committerJulian Maurice <julian.maurice@biblibre.com>
Mon, 25 Jan 2016 12:17:38 +0000 (13:17 +0100)
commit7ac55bd88bbf9ba3349830d672ddebe5defcc7fb
tree37ca75548d0ed398903f2dde300dc4456781a38e
parent14a58874edd53b075c3fa57958f92f08dc631109
Bug 15337: Make itemtypes retrieved with GetItemTypes ordered by descriptions

Prior to this patch, the itemtypes were displayed ordered by the code
(itemtypes.itemtype DB column).
This patch will make them displayed by the description displayed (the
translated description).

Test plan:
0/ Do not apply this patch set
1/ Confirm that the itemtypes are displayed ordered by code (when adding
an item, cataloguing/additem.pl)
2/ Confirm that t/db_dependent/Koha.t does not pass
3/ Apply the test patch
4/ Confirm that t/db_dependent/Koha.t pass
5/ Confirm that the itemtypes are not displayed by description (on
additem.pl)

See comment #3
Signed-off-by: Marc VĂ©ron <veron@veron.ch>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
(cherry picked from commit 96ba9a0d6bc37c5a8d8e1edc29f5736230e9d68f)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
C4/Koha.pm