[Koha-patches] [PATCH 10/12] (MT #3081) permit loans for today

Galen Charlton gmcharlt at gmail.com
Sat May 1 16:26:11 CEST 2010


Hi,

On Fri, Apr 30, 2010 at 6:19 PM, Henri-Damien LAURENT
<henridamien.laurent at biblibre.com> wrote:
> From: Nahuel ANGELINETTI <nahuel.angelinetti at biblibre.com>
>
> The specify due date calendar, doesn't accept "today". This patch fix this issue and permit librarian to loan a book for one day.
>
> Signed-off-by: Henri-Damien LAURENT <henridamien.laurent at biblibre.com>
> ---
>  .../prog/en/modules/circ/circulation.tmpl          |    6 +++---

I agree that this is a desirable change in behavior, but this patch
has no effect on master:

* looks like there are two version of the validate1 function in the
template; the second one was the one that needed to be changed to get
the calendar widget to display the way you want.  I suspect that the
first one can be removed entirely.
* the patch doesn't include any changes to circ/circulation.pl, which
includes a test on $duedatespec that prevents loans from being made
with a specified due date of today.

Please complete and resubmit.

Regards,

Galen
-- 
Galen Charlton
gmcharlt at gmail.com



More information about the Koha-patches mailing list