]> git.koha-community.org Git - koha.git/commit
Bug 24857: Add ability to set item group when adding a new item
authorNick Clemens <nick@bywatersolutions.com>
Tue, 8 Mar 2022 12:03:38 +0000 (12:03 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 8 Jul 2022 19:00:07 +0000 (16:00 -0300)
commitf83c7f86553641063725ff0b10d1b3d29a3506a9
treefdf6568f1d96adf15b5cdc9dd99785547355de4a
parentb791431e8c8ff05587d7a1ea7c3ea4d751d91233
Bug 24857: Add ability to set item group when adding a new item

During cataloging a user may wish to add an item to a group when
creating a new item

This patch also copies the group description to the enumchron field

To test:
1 - Browse to details page for a record
2 - Create or ensure the record has item group(s)
3 - Click New->New item
4 - Note the bottom of the page has a form to attach to existing group, or create new
5 - Note when a group is selected the enumchron field is populated
6 - Confirm item is saved to group when saved

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
cataloguing/additem.pl
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt
koha-tmpl/intranet-tmpl/prog/js/cataloging_additem.js