Bugzilla – Attachment 23726 Details for
Bug 6331
Obsolete marc column in deleteditems
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 6331 Do not populate marc in deleted items
Bug-6331-Do-not-populate-marc-in-deleted-items.patch (text/plain), 1.34 KB, created by
Kyle M Hall
on 2013-12-20 17:49:51 UTC
(
hide
)
Description:
Bug 6331 Do not populate marc in deleted items
Filename:
MIME Type:
Creator:
Kyle M Hall
Created:
2013-12-20 17:49:51 UTC
Size:
1.34 KB
patch
obsolete
>From 9e1d56b1f7c40acc30c41a5e03bb121ff708d9a1 Mon Sep 17 00:00:00 2001 >From: Colin Campbell <colin.campbell@ptfs-europe.com> >Date: Tue, 3 Dec 2013 11:39:43 +0000 >Subject: [PATCH] Bug 6331 Do not populate marc in deleted items > >This is supplementary to the main patch for >bug 6331. Having removed the attribute marc from >items DelItem should not populate it > >Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com> >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > C4/Items.pm | 5 ----- > 1 files changed, 0 insertions(+), 5 deletions(-) > >diff --git a/C4/Items.pm b/C4/Items.pm >index 0f2aec4..068291b 100644 >--- a/C4/Items.pm >+++ b/C4/Items.pm >@@ -649,11 +649,6 @@ sub DelItem { > my $record = GetMarcBiblio($biblionumber); > ModZebra( $biblionumber, "specialUpdate", "biblioserver" ); > >- # backup the record >- my $copy2deleted = $dbh->prepare("UPDATE deleteditems SET marc=? WHERE itemnumber=?"); >- $copy2deleted->execute( $record->as_usmarc(), $itemnumber ); >- # This last update statement makes that the timestamp column in deleteditems is updated too. If you remove these lines, please add a line to update the timestamp separately. See Bugzilla report 7146 and Biblio.pm (DelBiblio). >- > #search item field code > logaction("CATALOGUING", "DELETE", $itemnumber, "item") if C4::Context->preference("CataloguingLog"); > } >-- >1.7.2.5
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 6331
:
23055
|
23230
|
23256
|
23316
|
23320
|
23356
|
23725
| 23726 |
23727