[Koha-bugs] [Bug 35840] Local use is double-counted when using both RecordLocalUseOnReturn and statistical patrons

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat Jan 20 00:06:40 CET 2024


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

--- Comment #9 from Lucas Gass <lucas at bywatersolutions.com> ---
(In reply to Emily Lamancusa from comment #8)
> Works for me! Just one tweak to line 2476:
> 
> - }) unless $localuse;
> + }) unless ( $localuse && $stat_type eq 'localuse' );
> 
> Otherwise, when there is an actual return, it skips logging that, too.

Are you saying it should add 2 entries to the stats table if a checked out item
is checked out to the stats patron? 1 for localuse and 1 for a return? Seems
like it should be one or the other, not both.

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


More information about the Koha-bugs mailing list