Skip to content

Instantly share code, notes, and snippets.

@stompro
Last active June 6, 2017 14:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stompro/42eb6cbe2c1db5f12324 to your computer and use it in GitHub Desktop.
Save stompro/42eb6cbe2c1db5f12324 to your computer and use it in GitHub Desktop.
Best Hold Selection Docs and Label updates
Todo List
  1. Double Check labels for all sort options in the fieldmapper.

  2. Update Tech Docs

  3. Add docs that describe each sort option

  4. Update docs with new screenshots.

  5. Fix placeholder link.

Notes

The hold sort order is tied to the copy owning library. So the owner of the copy gets to decide which order gets used.

  1. hprox = Owning Library to Pickup Library proximity with no adjustments. So a hold would go home to fill holds that get picked up there first.

  2. htime = Owning Library to Pickup Library

  3. shtime = Owning Lib to Pickup Lib

  4. pprox = Checkin Location to Pickup Location proximity Unadjusted from actor.org_unit_proximity.

  5. aprox = hm.proximity or p.prox, Action.hold_copy_map where hold.id and hm.target_copy match. This value depends on how your adjusted proximities are setup. If there are no adjusted proximities or the hold hasn’t been targeted yet, it falls back to pprox.

  6. approx = action.hold_copy_calculated_proximity(h.id, %d, %d) by hold.id, Copy, Checkin Location. Recalculates the adjusted proximity at runtime based on the checkin location. When the checkin location is specified, it takes the place of the Copy Circ Lib in the proximity adjustement rules.

  7. priority = Group priortiy adjustment. Lowest priority gets selected first.

  8. cut - Top of queue/Cut in line setting. Gives priority to holds that have that setting enabled.

  9. depth - Selection Depth, prioritize holds that can only be filled by the Branch, System first. Only useful with Soft Boundaries in use. If you don’t use soft bondaries then this option doesn’t make sense.

  10. rtime - Request Time for the hold. When it was placed, the oldest hold has highest priority.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment