[Koha-bugs] [Bug 34032] Holds expirationdate left blank if waiting status is reverted

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Sep 12 16:45:04 CEST 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34032

--- Comment #5 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
    $hold->set(
        {
            priority    => 1,
            found       => undef,
            waitingdate => undef,
            expirationdate => $hold->patron_expiration_date,
            itemnumber  => $hold->item_level_hold ? $hold->itemnumber : undef,
        }
    )->store({ hold_reverted => 1 });

Currently, only this case triggers part of the condition (that could be
simplified to reduce repetition) that leads to calling:
                 $self->_set_default_expirationdate;
(Unless both dates are still the same..)

If they are not, why not respect patron_expiration_date?

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list