Bugzilla – Attachment 126393 Details for
Bug 27526
Remove Mod/AddItemFromMarc from additem.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27526: Fix for prefill preventing duplication
Bug-27526-Fix-for-prefill-preventing-duplication.patch (text/plain), 1.11 KB, created by
Andrii Nugged
on 2021-10-16 09:27:43 UTC
(
hide
)
Description:
Bug 27526: Fix for prefill preventing duplication
Filename:
MIME Type:
Creator:
Andrii Nugged
Created:
2021-10-16 09:27:43 UTC
Size:
1.11 KB
patch
obsolete
>From 675f27bcacf901792a3e62d36bf4d0ed06139338 Mon Sep 17 00:00:00 2001 >From: Andrew Nugged <nugged@gmail.com> >Date: Sat, 16 Oct 2021 00:16:35 +0300 >Subject: [PATCH] Bug 27526: Fix for prefill preventing duplication > >--- > cataloguing/additem.pl | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > >diff --git a/cataloguing/additem.pl b/cataloguing/additem.pl >index 7120bb8e90..37e92dfe50 100755 >--- a/cataloguing/additem.pl >+++ b/cataloguing/additem.pl >@@ -826,7 +826,8 @@ for my $library ( @$libraries ) { > # Using last created item if it exists > if ( $prefillitem > && $op ne "additem" >- && $op ne "edititem" ) >+ && $op ne "edititem" >+ && $op ne "dupeitem" ) > { > my $item_from_cookie = get_item_from_cookie($input); > $current_item = $item_from_cookie if $item_from_cookie; >@@ -859,6 +860,7 @@ foreach my $tag ( keys %{$tagslib} ) { > # If the subfield must be prefilled with last catalogued item > if ( > $nextop ne 'additem' >+ || $op eq 'dupeitem' > || ( > !$prefillitem > || ( $prefillitem && grep { $_ eq $subtag } >-- >2.33.0
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 27526
:
115679
|
115680
|
116006
|
117806
|
117807
|
117808
|
121589
|
121590
|
121591
|
122288
|
122318
|
122655
|
122656
|
122657
|
122658
|
122676
|
122677
|
122681
|
122682
|
122694
|
122695
|
122696
|
122946
|
122947
|
122948
|
122949
|
122950
|
122951
|
122952
|
122953
|
122954
|
122957
|
122958
|
122959
|
122974
|
123006
|
123007
|
123110
|
123329
|
123372
|
123415
|
123757
|
123758
|
123759
|
123760
|
123761
|
123762
|
123763
|
123764
|
123765
|
123766
|
123767
|
123768
|
123769
|
123770
|
123771
|
123772
|
125069
|
125605
|
125606
|
125607
|
125608
|
125609
|
125610
|
125611
|
125612
|
125613
|
125614
|
125615
|
125616
|
125617
|
125618
|
125619
|
125620
|
125818
|
125839
|
125863
|
126034
|
126051
|
126143
|
126144
| 126393 |
127025
|
127032