[Bug 39595] New: Allow membership_expiry.pl to limit based on patron attribute
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39595 Bug ID: 39595 Summary: Allow membership_expiry.pl to limit based on patron attribute Change sponsored?: --- Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Command-line Utilities Assignee: koha-bugs@lists.koha-community.org Reporter: andrew@bywatersolutions.com QA Contact: testopia@bugs.koha-community.org CC: robin@catalyst.net.nz The membership_expiry cron can take a "WHERE" value to check against the borrowers table in order to limit who gets renewed/notified (like "where categorycode != 'STAFF'"). It'd be helpful to have a way to check a patron attribute here, too. Maybe we could add options to the cron for "-attribute_code" and "-attribute_value" to limit only to patrons who have an attribute that matches the code and value? This is technically possible with the current WHERE implementation: -where 'me.borrowernumber in (select borrowernumber from borrower_attributes where code="show_bcode" and attribute=1)' But making is an explicit option would be more clear. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org