Bug 34234: Respect display_order in additem.tt and detail.tt
authorLucas Gass <lucas@bywatersolutions.com>
Fri, 12 Jan 2024 17:35:24 +0000 (17:35 +0000)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Thu, 7 Mar 2024 15:36:45 +0000 (16:36 +0100)
commitbcfc786f17fad8b7c866ee6063d2953d7b5d925d
treec2fff2a1c0c4db7d852f1c290a492c5a44a382cf
parentc3035f7e1b469acaebfc6e388d60a9684f744ba5
Bug 34234: Respect display_order in additem.tt and detail.tt

1. APPLY PATCH
2. EnableItemGroups
3. Find a record and add some new item groups with display orders that are different from the order in which the groups were added
4. Check the checkbox next to one or more items and click the link to "Add/move to item group"
5. Ensure display order is correct
6. Now add a new item to the record and scroll down to the dropdown underneath "+ Add to item group"
7. Display order should be correct.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt