Bugzilla – Attachment 136504 Details for
Bug 29958
Missing dateaccessioned is set to today when storing an item
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 29958: Do not set dateaccessioned on updates
Bug-29958-Do-not-set-dateaccessioned-on-updates.patch (text/plain), 823 bytes, created by
Martin Renvoize (ashimema)
on 2022-06-24 14:42:17 UTC
(
hide
)
Description:
Bug 29958: Do not set dateaccessioned on updates
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2022-06-24 14:42:17 UTC
Size:
823 bytes
patch
obsolete
>From 3a68129e7042a15dc00d63e1b71d2f3542e6875f Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Fri, 24 Jun 2022 15:39:07 +0100 >Subject: [PATCH] Bug 29958: Do not set dateaccessioned on updates > >This patch reomves the second occurence of setting daeaccessioned today, >outside of the 'add/update' handling in Koha::Item->store. >--- > Koha/Item.pm | 4 ---- > 1 file changed, 4 deletions(-) > >diff --git a/Koha/Item.pm b/Koha/Item.pm >index 16d6f95bed..6e96df5999 100644 >--- a/Koha/Item.pm >+++ b/Koha/Item.pm >@@ -198,10 +198,6 @@ sub store { > > } > >- unless ( $self->dateaccessioned ) { >- $self->dateaccessioned($today); >- } >- > my $result = $self->SUPER::store; > if ( $log_action && C4::Context->preference("CataloguingLog") ) { > $action eq 'create' >-- >2.20.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 29958
:
136504
|
136555
|
137052
|
137144
|
137145