[Koha-bugs] [Bug 35001] Patron->is_active should respect TrackLastPatronActivityTriggers

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Oct 12 16:25:40 CEST 2023


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

--- Comment #4 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
Martin: Just a first draft. My idea is that we need a query as long as this
action is not in a trigger. If it is a trigger, lastseen should already give
you the answer. The more triggers one has, the less extra queries are needed.

Although a library may not add e.g. hold to a trigger (for some reason or even
no reason), I strongly believe that we should check if (in that case) holds
prove activity. Because the decision to send or not send an expiry notice may
depend on it, or even expire or autorenew a patron. 
Same for the other queries.

What could be a problem too, is the transition period between activating a
trigger and the number of months used in membership expiry cron (say 6 months).
If you activated the trigger yesterday, we are no longer looking back in holds
etc. But lastseen has not been updated for holds in the last 6 months.
This may be a bit fictional since many holds were placed after login. But could
be an issue.

Appreciate some feedback before continuing.

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


More information about the Koha-bugs mailing list