Bug 36498 - Allow ability to set display order when adding an item group from additem.tt
Summary: Allow ability to set display order when adding an item group from additem.tt
Status: Signed Off
Alias: None
Product: Koha
Classification: Unclassified
Component: Cataloging (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Lucas Gass
QA Contact: Testopia
URL:
Keywords:
Depends on: 33639
Blocks:
  Show dependency treegraph
 
Reported: 2024-04-02 22:20 UTC by Lucas Gass
Modified: 2024-04-03 07:40 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: Small patch
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments
Bug 36498: Add ability to set item group display order from additem.tt (6.29 KB, patch)
2024-04-02 22:40 UTC, Lucas Gass
Details | Diff | Splinter Review
Bug 36498: Add ability to set item group display order from additem.tt (6.34 KB, patch)
2024-04-03 07:40 UTC, David Nind
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Lucas Gass 2024-04-02 22:20:18 UTC
Currently you can make an item group from the add item screen but you cannot set the display order.
Comment 1 Lucas Gass 2024-04-02 22:40:19 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.
Comment 2 David Nind 2024-04-03 07:40:59 UTC
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>