| Summary: | membership_expiry.pl -renew -active should include patrons 0-MembershipExpiryDaysNotice days before expiration | ||
|---|---|---|---|
| Product: | Koha | Reporter: | Lari Taskula <lari.taskula> |
| Component: | Command-line Utilities | Assignee: | Bugs List <koha-bugs> |
| Status: | In Discussion --- | QA Contact: | Testopia <testopia> |
| Severity: | enhancement | ||
| Priority: | P5 - low | CC: | robin |
| Version: | unspecified | ||
| 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: | |||
| Attachments: | Bug 41786: membership_expiry.pl -renew -active should include patrons 0-MembershipExpiryDaysNotice days before expiration | ||
|
Description
Lari Taskula
2026-02-06 11:41:45 UTC
I think this needs some discussion first. We can't just change the behavior without having consensus, because this change could break someone's cronjob workflow. (In reply to Lari Taskula from comment #0) > This can be fixed with the -before flag, but I think it is unexpected > behavior. Also you can only hardcode a value to -before, so if you change > MembershipExpiryDaysNotice, it will not update the -before value. An alternative solution might be to use the --where flag and do a subquery selecting the value from MembershipExpiryDaysNotice. But I'm not a big fan of that solution. (In reply to Lari Taskula from comment #0) > membership_expiry.pl -c -n -renew 12 -active Correction, membership_expiry.pl -c -n -renew -active 12 I wish Bugzilla had an option to edit :) Created attachment 192612 [details] [review] Bug 41786: membership_expiry.pl -renew -active should include patrons 0-MembershipExpiryDaysNotice days before expiration |