]> git.koha-community.org Git - koha.git/commit
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)
committerBrendan Gallagher <brendan@bywatersolutions.com>
Wed, 13 Jan 2016 19:27:22 +0000 (19:27 +0000)
commit96ba9a0d6bc37c5a8d8e1edc29f5736230e9d68f
treef5dbe21f0268e6285f0b665264d597457affd521
parentd33c2bf683f7a4d85531adb27662ddbb03080ae1
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
C4/Koha.pm