[Koha-bugs] [Bug 14918] Remove C4::Dates from circ/pendingreserves.pl

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Oct 1 13:18:57 CEST 2015


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

--- Comment #5 from Marc Véron <veron at veron.ch> ---
Created attachment 43003
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=43003&action=edit
[Signed-off] Bug 14918: Remove C4::Dates from circ/pendingreserves.pl

This patch uses Koha::DateUtils instead of C4::Dates and Date::Calc. It
also sent DateTime objects to the template, which use the TT plugin to
display them.
If an invalid dates is entered, the default date is picked.

Test plan:
1/ Go to Home > Circulation > Holds to pull
2/ Verify that the the filter and the list behave as before
3/ Enter invalid dates and confirm that you do not get a software error

Counter patch works as expected and is a much cleaner solution.
Signed-off-by: Marc Véron <veron at veron.ch>

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


More information about the Koha-bugs mailing list