From cb957a10a7087faac66d31c5b501e5734a2c277c Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Fri, 12 Jan 2024 18:05:22 +0000 Subject: [PATCH] Bug 35774: Use itemnumber instead of biblioitemnumber To test: ( SAME PLAN AS BZ 33639) Apply patch 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 5 - Note when a group is selected the enumchron field is populated 6 - Confirm item is saved to group when saved --- cataloguing/additem.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cataloguing/additem.pl b/cataloguing/additem.pl index cb517a51c7..b84d70cc50 100755 --- a/cataloguing/additem.pl +++ b/cataloguing/additem.pl @@ -444,7 +444,7 @@ if ($op eq "additem") { $current_item->discard_changes; # Cannot chain discard_changes $current_item = $current_item->unblessed; add_item_to_item_group( - $item->biblionumber, $item->biblioitemnumber, $item_group, + $item->biblionumber, $item->itemnumber, $item_group, $item_group_description ); -- 2.30.2