[Koha-devel] Koha 2.2.9 sticky due date

Michael Hafen mdhafen at washk12.org
Tue Apr 8 22:13:07 CEST 2008


My solution to that was to use a cookie, then have anything that could
accept a specified due date check for the cookie.  Like so in
renewscript.pl :

my $date;
if ($input->cookie('stickyduedate')) {
    my ($year, $month, $day) = split /-/,
$input->cookie('stickyduedate');
    $date = $year ."-". $month ."-". $day;
}


On Tue, 2008-04-08 at 22:02 +0200, C W Nel wrote:
> Hi All
>  
> Can someone please help with above.
>  
> I need to use the sticky due date also for renewal of allready issued
> items.
>  
> The renewbooks function in circ2.pm allows for a "duedate" parameter. 
> I need to know how to force the renew functionality to use the sticky
> due date.
> It sounds straight forward, but I am battling to get it to work.
>  
> Help will be much appreciated.
>  
> Thanks!
> _______________________________________________
> Koha-devel mailing list
> Koha-devel at lists.koha.org
> http://lists.koha.org/mailman/listinfo/koha-devel



More information about the Koha-devel mailing list