[OPEN-ILS-DEV] Arg to reshelving.complete ?

Bill Ott bott at grpl.org
Thu May 1 23:12:09 EDT 2008



Mike Rylander wrote:
> On Thu, May 1, 2008 at 6:40 PM, Bill Ott <bott at grpl.org> wrote:
>   
>>  Right now, open-ils.storage.action.circulation.reshelving.complete, accepts
>> only an argument for duration (e.g. 24h).  We anticipate the desire to
>> change this duration per location.  I believe it would just be a matter of
>> also shifting in an argument for circ_lib and modifying the query
>> accordingly in the complete_reshelving method.
>>
>>  Am I missing any gotchas here?  Other than of course allowing for the
>> possibility of no circ_lib, like it's current situation.
>>     
>
> Actually, here's a counter-proposal ... how about leaving the current
> arg as-is for a default and then modify the query to use an org_unit
> setting to override that where applicable?  With that, it's locally
> controlled, and only needs the one cron job.
>   
I like!


More information about the Open-ils-dev mailing list