[Bug 38023] New: Add ability to exclude certain item types for advance_notice.pl
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38023 Bug ID: 38023 Summary: Add ability to exclude certain item types for advance_notice.pl Change sponsored?: --- Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Notices Assignee: koha-bugs@lists.koha-community.org Reporter: lucas@bywatersolutions.com QA Contact: testopia@bugs.koha-community.org Libraries often request that certain item types not be reported upon in an advance notice. It's pretty trivial to exclude them from a DUE or PREDUE with TT but the digest ones are not as easy. Would be nice if there was an flag in the cron to exclude. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38023 --- Comment #1 from Slava Shishkin <slavashishkin@gmail.com> --- Created attachment 209591 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=209591&action=edit Bug 38023: Allow excluding item types from advance notices Add repeatable --itemtypesout to exclude types from individual and digest DUE/PREDUE notices. Fetch both item and bibliographic types in one query, respect item-level_itypes, update digest counts and skip empty digests. Test plan: 1. Prepare BK/ILL/REF loans due today and in three days, with individual and digest email notices enabled. Include an ILL-only patron. 2. Run with and without the patch; output should match: perl misc/cronjobs/advance_notices.pl -c -n -m 3 --itemscontent barcode 3. Add --itemtypesout ILL: ILL loans disappear, counts remain correct and no empty notices appear. Repeat the option for multiple types. 4. Repeat with --digest-per-branch and both item-level_itypes settings, including fallback when an item's type is unset. Assisted-by: OpenAI Codex -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38023 Slava Shishkin <slavashishkin@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |slavashishkin@gmail.com Status|NEW |Needs Signoff -- 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