Bugzilla – Attachment 15774 Details for
Bug 9732
timestamp not updated when modifying biblio
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch
0001-Bug-9732-timestamp-not-updated-when-modifying-biblio.patch (text/plain), 1.42 KB, created by
Fridolin Somers
on 2013-02-28 15:26:51 UTC
(
hide
)
Description:
Proposed patch
Filename:
MIME Type:
Creator:
Fridolin Somers
Created:
2013-02-28 15:26:51 UTC
Size:
1.42 KB
patch
obsolete
>From 8c03ce64e811a08c73d335c2b91b6745d3a7bc8b Mon Sep 17 00:00:00 2001 >From: Fridolyn SOMERS <fridolyn.somers@biblibre.com> >Date: Thu, 28 Feb 2013 16:24:19 +0100 >Subject: [PATCH] Bug 9732: timestamp not updated when modifying biblio > >When modifying a biblio, biblio.timestamp and biblioitems.timestamp are not updated. > >This patch adds timestamp=NOW() in _koha_modify_biblio and _koha_modify_biblioitem_nonmarc. > >Test plan : >- Look at an old biblio in database : biblio.timestamp and biblioitems.timestamp. >- Edit and save this biblio >- Look again in database >=> biblio.timestamp and biblioitems.timestamp must be actual date and time >--- > C4/Biblio.pm | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) > >diff --git a/C4/Biblio.pm b/C4/Biblio.pm >index 2c7170c..de93fcc 100644 >--- a/C4/Biblio.pm >+++ b/C4/Biblio.pm >@@ -3342,7 +3342,8 @@ sub _koha_modify_biblio { > serial = ?, > seriestitle = ?, > copyrightdate = ?, >- abstract = ? >+ abstract = ?, >+ timestamp = NOW() > WHERE biblionumber = ? > " > ; >@@ -3406,7 +3407,8 @@ sub _koha_modify_biblioitem_nonmarc { > cn_sort = ?, > totalissues = ?, > ean = ?, >- agerestriction = ? >+ agerestriction = ?, >+ timestamp = NOW() > where biblioitemnumber = ? > "; > my $sth = $dbh->prepare($query); >-- >1.7.10.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 9732
: 15774