Summary: | Allow ability to set display order when adding an item group from item editor | ||
---|---|---|---|
Product: | Koha | Reporter: | Lucas Gass (lukeg) <lucas> |
Component: | Cataloging | Assignee: | Lucas Gass (lukeg) <lucas> |
Status: | Needs documenting --- | QA Contact: | Testopia <testopia> |
Severity: | enhancement | ||
Priority: | P5 - low | CC: | david, fridolin.somers, m.de.rooy |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | Small patch |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: |
This enhancement to item groups allows you to set the order for item groups created when adding a new item. To do this:
1. Scroll down to the 'Add to item group section' at the bottom of the add item form.
2. For the options field, select 'Create new item group'.
3. Add a new group name.
4. Add a number to the new 'Display order' field to set the order.
Previously, the order of the groups could only be changed from the item groups tab on the record details page.
(To use the item groups feature, enable the EnableItemGroups system preference.)
|
Version(s) released in: |
24.11.00,24.05.02
|
Circulation function: | |||
Bug Depends on: | 33639 | ||
Bug Blocks: | |||
Attachments: |
Bug 36498: Add ability to set item group display order from additem.tt
Bug 36498: Add ability to set item group display order from additem.tt Bug 36498: Add ability to set item group display order from additem.tt Bug 36498: Tidy cataloguing/additem.pl |
Description
Lucas Gass (lukeg)
2024-04-02 22:20:18 UTC
Created attachment 164303 [details] [review] Bug 36498: Add ability to set item group display order from additem.tt To test: 1. Apply patch, restart_all 2. System preferences -> EnableItemGroups, set to 'Enable'. 3. Find a record and create at least 1 item group. 4. Go to Add item 5. Scroll to the bottom and look for 'Options' underneath 'Add to item group' 6. In the dropdown select 'Create new item group' 7. There should be fields for 'Name' and 'Display order'. 8. Make sure you can add a new item group with and without a display order set. If no display order is set it should default to 0. 9. Try to add a non numerical display order, you should not be able to. Created attachment 164357 [details] [review] Bug 36498: Add ability to set item group display order from additem.tt To test: 1. Apply patch, restart_all 2. System preferences -> EnableItemGroups, set to 'Enable'. 3. Find a record and create at least 1 item group. 4. Go to Add item 5. Scroll to the bottom and look for 'Options' underneath 'Add to item group' 6. In the dropdown select 'Create new item group' 7. There should be fields for 'Name' and 'Display order'. 8. Make sure you can add a new item group with and without a display order set. If no display order is set it should default to 0. 9. Try to add a non numerical display order, you should not be able to. Signed-off-by: David Nind <david@davidnind.com> Created attachment 166883 [details] [review] Bug 36498: Add ability to set item group display order from additem.tt To test: 1. Apply patch, restart_all 2. System preferences -> EnableItemGroups, set to 'Enable'. 3. Find a record and create at least 1 item group. 4. Go to Add item 5. Scroll to the bottom and look for 'Options' underneath 'Add to item group' 6. In the dropdown select 'Create new item group' 7. There should be fields for 'Name' and 'Display order'. 8. Make sure you can add a new item group with and without a display order set. If no display order is set it should default to 0. 9. Try to add a non numerical display order, you should not be able to. Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Created attachment 166884 [details] [review] Bug 36498: Tidy cataloguing/additem.pl Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Pushed for 24.11! Well done everyone, thank you! Backported to 24.05.x for upcoming 24.05.02 I prefere not to add to oldstable 23.11.x |