Use copy owning library as the context for finding best hold sort order setting user/miker/change-best-hold-context-org
authorMike Rylander <mrylander@gmail.com>
Tue, 21 Jan 2014 17:31:13 +0000 (12:31 -0500)
committerMike Rylander <mrylander@gmail.com>
Tue, 21 Jan 2014 19:42:52 +0000 (14:42 -0500)
commitd090ce22bcd9c5bf2d52d89b4b6364a2d3abf16d
treea2bcf66fac852517a96d5f26b9579d7c5a8b0ba4
parenta8cb33092ae4e0424c904359e255ebdb7807881c
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>
Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/action.pm