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

--- Comment #100 from Marcel de Rooy <[email protected]> ---
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to