https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35840 --- Comment #28 from Lucas Gass <lucas@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.