[Koha-devel] Date defaults in pendingreserves.pl (holds to pull report)

Wagner, Jane jwagner at ptfs.com
Fri Mar 20 21:07:20 CET 2009


OK, thanks to both of you.  Some things to consider....

Jane Wagner
Library Systems Analyst
PTFS Inc.
Content Management and Library Solutions
6400 Goldsboro Road, Suite 200
Bethesda, MD  20817
(301) 654-8088 x 151
jwagner at ptfs.com


-----Original Message-----
From: Chris Cormack [mailto:chris at bigballofwax.co.nz] 
Sent: Friday, March 20, 2009 3:15 PM
To: Wagner, Jane
Cc: Owen Leonard; koha-devel
Subject: Re: [Koha-devel] Date defaults in pendingreserves.pl (holds to pull report)

2009/3/21 Wagner,  Jane <jwagner at ptfs.com>:
> That approach hadn't occurred to me, thanks.  However, is it possible to
> pass a sliding date?  Something like $yesterday and $today?  As a test I
> modified the script itself to use $yesterdaysdate in place of $pastdate,
> which worked fine.  However, I'd like to give the user more options

Well you could just pass in yesterday and todays date :)
So you could edit the template that creates the link to the script so
that it has the prefilled, so the user could just click on it and it
would do todays.

Or you could make it a form, with 2 input fields that the user could type into.
Short answer is yes, the form accepts inputs, you just have to pass them to it.

Chris



More information about the Koha-devel mailing list