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)
committerLucas Gass <lucas@bywatersolutions.com>
Tue, 19 Mar 2024 19:46:34 +0000 (19:46 +0000)
commitc8f54b7ba25dc4c737e9bcd63528f8373972e58d
tree983302d52d0fe08bb101b0618505b6c8bbedbd87
parent8556621a3e5bdbe1fb49a4fc7e30ca184cc5703a
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>
(cherry picked from commit bcfc786f17fad8b7c866ee6063d2953d7b5d925d)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 9308e3d5190a496e1c1bd603de3a8b2a8392d1df)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt