[Koha-bugs] [Bug 33608] Allow to get statistics about found/recovered books
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Oct 26 08:18:03 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33608
--- Comment #100 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
Or are you thinking about those lines:
+ Koha::PseudonymizedTransaction->new_from_statistic($self)->store
+ if C4::Context->preference('Pseudonymization')
+ && $self->borrowernumber # Not a real transaction if the patron
does not exist
+ # For instance can be a transfer, or hold
trigger
+ && grep { $_ eq $self->type } qw(renew issue return onsite_checkout);
Could mock new_from_statistic to see if it is really called?
Note btw:
git grep new_from_statistic
Koha/PseudonymizedTransaction.pm:=head3 new_from_statistic
Koha/PseudonymizedTransaction.pm:sub new_from_statistic {
Koha/Statistic.pm:
Koha::PseudonymizedTransaction->new_from_statistic($self)->store
=> Does not give results in t?
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list