[Koha-bugs] [Bug 25159] Action logs should be stored in JSON ( and as a diff of the change )

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Dec 12 18:00:27 CET 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25159

--- Comment #34 from Kyle M Hall <kyle at bywatersolutions.com> ---
> Replace:
> +    my $original = C4::Context->preference('HoldsLog') ? $self->unblessed :
> undef;
> +    logaction( 'HOLDS', 'SUSPEND', $self->reserve_id, $self, undef,
> $original )
> 
> With
> +    logaction( 'HOLDS', 'SUSPEND', $self->reserve_id, $self, undef )
> 
> And, in logaction, $original = $self->get_from_storage.

I like it! Let's support both since $infos can be either!

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list