]> git.koha-community.org Git - koha.git/commit
Bug 34908: Sort item types alphabetically by description when adding a new empty...
authorAleisha Amohia <aleishaamohia@hotmail.com>
Tue, 26 Sep 2023 22:40:01 +0000 (22:40 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 25 Oct 2023 15:09:54 +0000 (12:09 -0300)
commit0ef83c041d55cb95a4fd839101135126c3d9854a
tree745ccfb3d096ea4ffd461ee5f89e92a2f2aa30fa
parent4ab24451a337d964edead78cf332073ce1a5e0e3
Bug 34908: Sort item types alphabetically by description when adding a new empty record as an order to a basket

To test:

1. Go to Koha administration -> Item types. Add a new item type "B" with the description "Test" so it will be obvious if it is sorted by the code "B" instead of the description "Test".
2. Go to Acquisitions. Add to a basket from a new empty record
3. In the Catalog details section, note the Item type dropdown. Confirm your "Test" item type, is showing near the top of the list, indicating it has been sorted based on the code "B"
4. Apply patch and restart services. Refresh the page.
5. Open the Item type dropdown again and confirm your "Test" item type is showing in the expected alphabetical order.

NC amended patch - tidied

Sponsored-by: South Taranaki District Council
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
acqui/neworderempty.pl