Bugzilla – Attachment 61100 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), 842 bytes, created by
Jonathan Druart
on 2017-03-15 12:32:19 UTC
(
hide
)
Description:
Bug 18270: Do not fetch the MARC record when deleting an item
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2017-03-15 12:32:19 UTC
Size:
842 bytes
patch
obsolete
>From 04832a7fd119b5b5de81b3d75b1f156dad2f88e1 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 > >$record is never used later, the call is superfluous. > >Test plan: >Quick glance at the code should be enough >--- > 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