Bugzilla – Attachment 161182 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.59 KB, created by
Marcel de Rooy
on 2024-01-19 10:17:38 UTC
(
hide
)
Description:
Bug 35774: Use itemnumber instead of biblioitemnumber
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2024-01-19 10:17:38 UTC
Size:
1.59 KB
patch
obsolete
>From 49b3a6c0e5301c9e0a39ec898d0e7b5e066ba639 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 >Content-Type: text/plain; charset=utf-8 > >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> > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > 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