[Koha-bugs] [Bug 33522] Optionally skip (in)active patrons when sending membership expiry notices

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jun 2 17:14:09 CEST 2023


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

Sam Lau <samalau at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #151885|0                           |1
        is obsolete|                            |

--- Comment #4 from Sam Lau <samalau at gmail.com> ---
Created attachment 151986
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=151986&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>
Signed-off-by: Sam Lau <samalau at gmail.com>

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


More information about the Koha-bugs mailing list