Use copy owning library as the context for finding best hold sort order setting
authorMike Rylander <mrylander@gmail.com>
Tue, 21 Jan 2014 17:31:13 +0000 (12:31 -0500)
committerBen Shum <bshum@biblio.org>
Sun, 9 Feb 2014 12:22:14 +0000 (07:22 -0500)
commit8c660f9483e3b9285e8178816460530d4b355845
tree21790868b86c39da993c253448728ed8c61e17d8
parentbc0a3bed1fcca684d96a925547b962d597cdc692
Use copy owning library as the context for finding best hold sort order setting

In the olden days before best hold sort order and proximity adjustment, there was
no need to consider any context org other than "here", because the choices were,
essentially, FIFO or Traditional applied within the hard-boundary range.  However,
now we need to decided whose rule to follow, and the most correct arbiter of that
is the owning library of the call number of the copy.  We avoid copy circ lib
because that can change with floating copies.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Ben Shum <bshum@biblio.org>
Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/action.pm