Bugzilla – Attachment 161127 Details for
Bug 35774
add_item_to_item_group additem.pl should be $item->itemnumber instead of biblioitemnumber
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35774: Use itemnumber instead of biblioitemnumber
Bug-35774-Use-itemnumber-instead-of-biblioitemnumb.patch (text/plain), 1.50 KB, created by
David Nind
on 2024-01-18 06:05:43 UTC
(
hide
)
Description:
Bug 35774: Use itemnumber instead of biblioitemnumber
Filename:
MIME Type:
Creator:
David Nind
Created:
2024-01-18 06:05:43 UTC
Size:
1.50 KB
patch
obsolete
>From f99e7bd067447ea6af221c94e3cb36238da0d525 Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >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 <david@davidnind.com> >--- > 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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 35774
:
160994
|
161122
|
161127
|
161182