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>
(cherry picked from commit 1f5fbcf736)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
91c4d41115
commit
e0fcd54a6e
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Reference in New Issue