Hi Josh,

Thank you for this helpful information and clear explanation.  Especially 
clarifying how the timeframe works for an item that has not circulated in a 
long time.

I appreciate it.

It seems if the goal is to bring home the item sooner than later the htime 
might be best.

Joan

Joan Kranich
Member Services Supervisor
C/W MARS, Inc.
508-755-3323, ext. 321 or ext. 1

From: Open-ils-general 
[mailto:open-ils-general-boun...@list.georgialibraries.org] On Behalf Of Josh 
Stompro
Sent: Monday, August 8, 2016 3:04 PM
To: Evergreen Discussion Group <open-ils-general@list.georgialibraries.org>
Subject: Re: [OPEN-ILS-GENERAL] Holds Go Home

Hello Joan,

The techref for Holds-go-home says the following
http://git.evergreen-ils.org/?p=Evergreen.git;a=blob;f=docs/TechRef/Circ/holds-go-home.txt;hb=HEAD

   7  A copy prefers to fulfill a hold near its home when:
   8
   9     - The last event for a copy was NOT at home *and* ...
  10     - The copy has not circulated from home within the defined period 
*and* ...
  11     - The copy has neither departed from home by transit nor arrived at 
home
  12       by transit within the defined period.
  13

It looks like it is the checkout time/circulation.xact_start that is used as 
the circ time.

The code in master is at
http://git.evergreen-ils.org/?p=working/Evergreen.git;a=blob;f=Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/action.pm;hb=HEAD#l405

But that is for the shtime sort item.

“Traditional with Holds-go-home” uses the htime item for its first sort.


  90 _htime_ is a simpler version of the same, with all reference to transits
  91 removed, considering only circulations.  This means events become thin
  92 circulations, the "Did a transit bring copy home..." step in the flow chart
  93 goes away, etc. etc.

So neither of the options you gave is correct if I’m interpreting it correctly. 
 It only counts time from the last checkout at home and doesn’t consider 
transits.  So if an item sits on the shelf for 2 months after being returned, 
and then goes to another location to fill a hold, it will always try to come 
home after that hold is filled since it will be over 2 months since it was last 
checked out at home.

If you switched to the shtime sort, it would take transits into consideration.

Josh Stompro - LARL IT Director

From: Open-ils-general 
[mailto:open-ils-general-boun...@list.georgialibraries.org] On Behalf Of Joan 
Kranich
Sent: Monday, August 08, 2016 11:30 AM
To: 'Evergreen Discussion Group'
Subject: [OPEN-ILS-GENERAL] Holds Go Home

Hi,

We use the Library Setting Best-hold selection sort order and set it for 
Traditional with Holds-go-home.  We have set the Max foreign-circulation time 
to 2 months and it appears to work well.

Does anyone know if the max foreign circulation time begins when the item is 
set in transit to another library or when the item is checked out at the other 
(nonowning) library?

Here’s the description in the system:

Max foreign-circulation time
Time a copy can spend circulating away from its circ lib before returning there 
to fill a hold (if one exists there)

And from the Evergreen documentation:

The Holds-go-home and Holds-always-go-home options allow libraries to determine 
how long they want to allow items to transit outside of the item’s home 
library, before it must return to its home library to fulfill any holds that 
are to be picked up there. Libraries can set this time limit in the library 
setting Holds: Max foreign-circulation time. The Library Settings Editor can be 
found under Admin → Local Administration → Library Settings Editor.

Thanks.
Joan

Joan Kranich
Member Services Supervisor
C/W MARS, Inc.
508-755-3323, ext. 321 or ext. 1

Reply via email to