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: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected], [email protected],
                    [email protected]
  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.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to