To recreate: Add a shelving location CODE:ZZZZ lib:"Awake" Load some items in batch modification Note the shelving location is misordered
Created attachment 83371 [details] [review] Bugs 22022: Correct ordering for authorised values To test: 1 - Add a shelving location with code "ZZZZ" and lib "Awake" 2 - Load some items in batch modification 3 - Note shelving location dropdown is wrong 4 - Apply patch 5 - Reload page 6 - Note order is correct
I attached a patch that is a quick fix, however, this should probably be a template plugin to create these dropdown.
Created attachment 83373 [details] [review] Bug 22022: Correct ordering for authorised values To test: 1 - Add a shelving location with code "ZZZZ" and lib "Awake" 2 - Load some items in batch modification 3 - Note shelving location dropdown is wrong 4 - Apply patch 5 - Reload page 6 - Note order is correct Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Created attachment 83399 [details] [review] Bug 22022: Correct ordering for authorised values To test: 1 - Add a shelving location with code "ZZZZ" and lib "Awake" 2 - Load some items in batch modification 3 - Note shelving location dropdown is wrong 4 - Apply patch 5 - Reload page 6 - Note order is correct Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Awesome work all! Pushed to master for 19.05
Pushed to 18.11.x for 18.11.01
backported to 18.05 for 18.05.08
Caused by Bug 21635 not in 17.11.x