Bugzilla – Attachment 137145 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), 984 bytes, created by
Tomás Cohen Arazi (tcohen)
on 2022-07-05 12:16:03 UTC
(
hide
)
Description:
Bug 29958: Do not set dateaccessioned on updates
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2022-07-05 12:16:03 UTC
Size:
984 bytes
patch
obsolete
>From 1f5fbcf73626139bcc01aca73b912fa29ff51f7d 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. > >Signed-off-by: David Nind <david@davidnind.com> >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > 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.34.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