]> git.koha-community.org Git - koha.git/commit
Bug 29474: Return too_soon before checking renewals
authorNick Clemens <nick@bywatersolutions.com>
Sat, 13 Nov 2021 14:43:36 +0000 (14:43 +0000)
committerKyle Hall <kyle@bywatersolutions.com>
Fri, 4 Feb 2022 19:12:24 +0000 (14:12 -0500)
commit11345e788af26c6269d23401f115fbec5a77612d
treeeff5631d5ba2dd4936d38cae5b27d7b84a1d35f4
parent28a2ea3ec04c4d7a78cbd7ab59f0a611e6b6d2d4
Bug 29474: Return too_soon before checking renewals

This patch allows us to avoid checking reserves when the issue is
too_soon and we are running the cron

Code is covered by existing tests

To test:
1 - prove -v t/db_dependent/Circulation.t

Signed-off-by: Joonas Kylmälä <joonas.kylmala@iki.fi>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
C4/Circulation.pm