]> git.koha-community.org Git - koha.git/commit
Bug 30167: Return soonest renewal date when renewal is to soon
authorNick Clemens <nick@bywatersolutions.com>
Wed, 23 Feb 2022 16:01:22 +0000 (16:01 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 5 May 2022 00:29:23 +0000 (14:29 -1000)
commit4cf759259ffbf5bf74af43e06b3be780c90161b2
treea01c4f82f4bcbc8533d1b77095eb8362a618f345
parente225ee3b1597070677f4cd010c3da4aaac7d3ab8
Bug 30167: Return soonest renewal date when renewal is to soon

This patch adds an 'info' return param to CanBookBeRenewed and passes
the soonest renewal date when returning too_soon errors

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

Fix whitespace

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
C4/Circulation.pm
t/db_dependent/Circulation.t