Bugzilla – Attachment 61103 Details for
Bug 18270
No need to fetch the MARC record when deleting an item
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18270: Do not fetch the MARC record when deleting an item
Bug-18270-Do-not-fetch-the-MARC-record-when-deleti.patch (text/plain), 977 bytes, created by
Marc Véron
on 2017-03-15 15:21:55 UTC
(
hide
)
Description:
Bug 18270: Do not fetch the MARC record when deleting an item
Filename:
MIME Type:
Creator:
Marc Véron
Created:
2017-03-15 15:21:55 UTC
Size:
977 bytes
patch
obsolete
>From 2f61fdf7d7710187df081794caa448d465283163 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 15 Mar 2017 09:30:19 -0300 >Subject: [PATCH] Bug 18270: Do not fetch the MARC record when deleting an item >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >$record is never used later, the call is superfluous. > >Test plan: >Quick glance at the code should be enough > >Signed-off-by: Marc Véron <veron@veron.ch> >--- > C4/Items.pm | 2 -- > 1 file changed, 2 deletions(-) > >diff --git a/C4/Items.pm b/C4/Items.pm >index 8f177b0..82f680e 100644 >--- a/C4/Items.pm >+++ b/C4/Items.pm >@@ -680,8 +680,6 @@ sub DelItem { > # FIXME check the item has no current issues > my $deleted = _koha_delete_item( $itemnumber ); > >- # get the MARC record >- my $record = GetMarcBiblio($biblionumber); > ModZebra( $biblionumber, "specialUpdate", "biblioserver" ); > > #search item field code >-- >2.1.4
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 18270
:
61100
|
61103
|
61286