Bug 40781 - cancel_unfilled_holds.pl should skip cancelled holds
Summary: cancel_unfilled_holds.pl should skip cancelled holds
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Command-line Utilities (show other bugs)
Version: Main
Hardware: All All
: P5 - low minor
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-09-10 09:05 UTC by Fridolin Somers
Modified: 2025-09-10 09:06 UTC (History)
1 user (show)

See Also:
GIT URL:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fridolin Somers 2025-09-10 09:05:41 UTC
Cronjob cancel_unfilled_holds.pl should skip already cancelled holds.

Currently it searches :
    my $holds = Koha::Holds->search( { branchcode => $branch } )->unfilled();

Verbose logs shows all cancelled holds from previous days.

Just skip ?