[Koha-bugs] [Bug 28692] Reduce DB action_log table size
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Nov 12 11:46:54 CET 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28692
--- Comment #25 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
Koha::Item
Not sure if there was an idea to log the item version before we store
(get_from_storage call) but we only save the current stage:
my $result = $self->SUPER::store;
if ( $log_action && C4::Context->preference("CataloguingLog") ) {
$action eq 'create'
? logaction( "CATALOGUING", "ADD", $self->itemnumber, "item" )
: logaction( "CATALOGUING", "MODIFY", $self->itemnumber, $self );
}
We already super stored. So if we wanted the version without the changes like
the BIBLIO BEFORE then we should move the super store here?
In that case I would also add a BEFORE.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list