[Koha-bugs] [Bug 33522] Optionally skip inactive patrons when sending membership expiry notices

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed May 31 17:19:03 CEST 2023


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

--- Comment #2 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
Created attachment 151885
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=151885&action=edit
Bug 33522: Add active and inactive parameter to membership_expiry.pl

Test plan:
Enable TrackLastPatronActivity.
Set MembershipExpiryDaysNotice to X days.
Pick a patron, make it expire in X days. Add email address.
Update borrowers.lastseen for this patron to make it active.
Run membership_expiry.pl -c -v -active
You should see at least one enqueued notice.
Note: Since we passed no number, we default to 6 months.
Run membership_expiry.pl -c -v -inactive
You should see that it skipped a number of active patrons (>=1).

Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>

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


More information about the Koha-bugs mailing list