Bugzilla – Attachment 3063 Details for
Bug 5690
items.timestamp was not being updated when an item was edited
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for 5690
0001-Bug-5690.patch (text/plain), 951 bytes, created by
Chris Cormack
on 2011-02-03 21:04:44 UTC
(
hide
)
Description:
Patch for 5690
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2011-02-03 21:04:44 UTC
Size:
951 bytes
patch
obsolete
>From f2431dbc289591ce926bb4bf97b36b84e187d157 Mon Sep 17 00:00:00 2001 >From: Henri-Damien LAURENT <henridamien.laurent@biblibre.com> >Date: Wed, 23 Jun 2010 18:48:12 +0200 >Subject: [PATCH] Bug 5690 > >MT3947: items.timestamp were not updated on edition > >If items.timestamp is used in the framework and hidden >the fact that it is NOT deleted before update is done would input the previous timestamp, >which is not the desired behaviour. >--- > C4/Items.pm | 3 +++ > 1 files changed, 3 insertions(+), 0 deletions(-) > >diff --git a/C4/Items.pm b/C4/Items.pm >index 4ab385c..c0d8701 100644 >--- a/C4/Items.pm >+++ b/C4/Items.pm >@@ -1779,6 +1779,9 @@ sub _do_column_fixes_for_mod { > if (exists $item->{'location'} && !exists $item->{'permanent_location'}) { > $item->{'permanent_location'} = $item->{'location'}; > } >+ if (exists $item->{'timestamp'}) { >+ delete $item->{'timestamp'}; >+ } > } > > =head2 _get_single_item_column >-- >1.7.1 >
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 5690
: 3063 |
3169