From 3ad6c60f7f2850f100d36171fbac616d38ac8ce0 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 With Bug 33639 already pushed to master there should be NO change in behavior. To test: 1. APPLY PATCH 2. Create one or more item groups for a bib if needed 3. Create a new item, and at the bottom of the 'Add item' screen, select the item group to which you want this item added. Save. 4. The item should succesffuly be added to the item group. 5. Add a new item and to the same record and this time try the 'Create a new item group' from the dropdown. 6. Name the new item group. 7. Make sure it is correctly added to the item group. Signed-off-by: David Nind Signed-off-by: Marcel de Rooy Signed-off-by: Katrin Fischer (cherry picked from commit 95e19e758a03b5554e63014a0264a63477b8bbb0) Signed-off-by: Fridolin Somers (cherry picked from commit 71247b9a0722287c79ecb3198bc96a77ab3ffaa5) Signed-off-by: Lucas Gass --- 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.39.5