| Summary: | Tracking patron activity with charges | ||
|---|---|---|---|
| Product: | Koha | Reporter: | Katariina Pohto <katariina.pohto> |
| Component: | Patrons | Assignee: | Lari Strand <lmstrand> |
| Status: | Patch doesn't apply --- | QA Contact: | Testopia <testopia> |
| Severity: | enhancement | ||
| Priority: | P5 - low | CC: | gmcharlt, jonathan.druart, kyle, lmstrand, lucas |
| Version: | Main | ||
| Hardware: | All | ||
| OS: | All | ||
| GIT URL: | Initiative type: | --- | |
| Sponsorship status: | --- | Comma delimited list of Sponsors: | |
| Crowdfunding goal: | 0 | Patch complexity: | --- |
| Documentation contact: | Documentation submission: | ||
| Text to go in the release notes: | Version(s) released in: | ||
| Circulation function: | |||
| Bug Depends on: | 15504 | ||
| Bug Blocks: | |||
| Attachments: | Bug 40182: Update lastseen when adding/modifying charges | ||
|
Description
Katariina Pohto
2025-06-19 11:51:41 UTC
Created attachment 183529 [details] [review] Bug 40182: Update lastseen when adding/modifying charges To test: 1. make a payment/add credit/create an invoice to a patron 2. check that lastseen hasn't updated 3. Check "Adding patron a charge or credit" and "Modifying a patron's charge or credit" from TrackLastPatronActivityTriggers syspref 4. repeat step 1's action 5. Notice lastseen having been updated To test the new triggers you sould use multiple patrons and/or restart memcached since lastseen is not updated for the same patron but once a day This approach is just a simple way of handling manual accountline modifications' lastseen updates for the patron that doesn't collide with cronjobs modifying patrons' accountlines. The new selections/descriptions for the TrackLastPatronActivityTriggers syspref might also need some input from you guys. Writing off some/all charges should also update lastseen for the patron whose account is being dealt with and follows modify_charges (Modifying a patron's charge or credit) preference. |