[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
Tue Jan 30 16:34:20 CET 2024


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

--- Comment #28 from Lucas Gass <lucas at bywatersolutions.com> ---

> That is no simple question. Depends on the whole context of why (and when)
> we are doing it, and the use cases for it.
> But it feels that it should not be there.

In CanBookBeIssued there is:

if ( $patron->category->category_type eq 'X' ) 

where we do some things in the borrower is a statistical patron. This is mostly
for updating the stats table 'C4::Stats::UpdateStats'. As of Bug 27992, this
also includes a call to AddReturn to make sure anything checked out to a stats
patron is returned. 

Maybe we should open a new bug report to discuss the overall architecture?

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


More information about the Koha-bugs mailing list