https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43232 Bug ID: 43232 Summary: Koha::Hold->age does not respect future holds Initiative type: --- Sponsorship --- status: Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Hold requests Assignee: koha-bugs@lists.koha-community.org Reporter: m.de.rooy@rijksmuseum.nl QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@gmail.com, lisette@bywatersolutions.com, tomascohen@gmail.com Target Milestone: --- Came across this when testing misc/cronjobs/holds/cancel_unfilled_holds.pl, which relies on the ->age sub. This line $age = $today->delta_days( dt_from_string( $self->reservedate ) ); just counts the number of days between today and reservedate. This is always a positive number. Future holds (having a reservedate in the future) are handled just like older holds. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.