[Koha-bugs] [Bug 24161] Late orders improvements - keeping track of claims
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed May 13 09:59:35 CEST 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24161
--- Comment #69 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 104826
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=104826&action=edit
Bug 24161: Fix failing test (when running slow)
We "mocked" the claim date to make sure we were not going to hit this
problem, but it's not done on the correct claim, it should be done on
the last one (so second).
from Koha::Acq::Order->claimed_date
294 my $last_claim = $self->claims->last;
295 return unless $last_claim;
296 return $last_claim->claimed_on;
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list