]> git.koha-community.org Git - koha.git/commit
Bug 9788: (follow-up) for expirationdate in Letter.pm
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Fri, 21 Jun 2013 16:43:59 +0000 (18:43 +0200)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 18 Mar 2014 08:27:15 +0000 (09:27 +0100)
commita1ff2fb562c0136eaed141832b208fd5d8831897
tree4dca1a5d1a56e01e77c5e32adb36b5584b932286
parent0cb747f65cd24d812e7b68f90dad98f8f7c0f35f
Bug 9788: (follow-up) for expirationdate in Letter.pm

Pasting comment from the Bugzilla report:

Looking bit longer at this code, it is kind of strange to find it
there in the first place. Adding maxpickupdelay in Letters.pm should
not be there, but it is..

Also this date is not used normally in the default HOLD Available for
Pickup notice (that we are generating in this case). And if it would be
undef, the expiration date should imo be empty instead of today+0.
(before adding maxreservespickupdelay, you should test the allowexpire
pref first) So it is an (invisible) bug on its own.

Test plan:
See former patch. Kyle just discovered this bug, apparently by
deleting the maxpickupdelay pref..

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit a23d4181b1e756a61a036059b8b909d4f0d30537)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
C4/Letters.pm