[Koha-bugs] [Bug 14395] Two different ways to calculate 'No renewal before' (days or hours)

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jul 16 16:10:05 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14395

Holger Meißner <h.meissner.82 at web.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #41028|0                           |1
        is obsolete|                            |

--- Comment #4 from Holger Meißner <h.meissner.82 at web.de> ---
Created attachment 41029
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41029&action=edit
Bug 14395: Code changes

This patch updates the calculation of 'No renewal before' to include the
new syspref NoRenewalBeforePrecision.

To test:

1) Switch syspref NoRenewalBeforePrecision to 'exact time'.

2) Check out an item with 'No renewal before' set to 1 hour. Confirm that
   you are unable to renew. Both staff client and OPAC user account should
   display that renewal is allowed exactly one hour before due.

3) Switch NoRenewalBeforePrecision to 'date'. Now the item should be
   renewable immediately. (Unless you test less than an hour before
   midnight)

4) Also test with unit set to days and other values.

Sponsored-by: Hochschule für Gesundheit (hsg), Germany

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


More information about the Koha-bugs mailing list