]> git.koha-community.org Git - koha.git/commit
Bug 29474: Decouple renewal checks of auto-renewed issues from non-autorenewed
authorJoonas Kylmälä <joonas.kylmala@iki.fi>
Sun, 14 Nov 2021 12:05:16 +0000 (12:05 +0000)
committerKyle Hall <kyle@bywatersolutions.com>
Fri, 4 Feb 2022 19:12:24 +0000 (14:12 -0500)
commit9ad9abade2a5d99d1e94067df7e80fdc1b8ddcc1
tree182c85a6e801daa239fd81e89508559c4766b22e
parent11345e788af26c6269d23401f115fbec5a77612d
Bug 29474: Decouple renewal checks of auto-renewed issues from non-autorenewed

The too_soon check does not relate at all to auto-renewed issues and
should be moved outside the _CanBookBeAutoRenewed() function.

To test:
   1) prove t/db_dependent/Circulation.t

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
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