improve hold targetting
authorgmc <gmc@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 24 Sep 2010 18:42:57 +0000 (18:42 +0000)
committergmc <gmc@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 24 Sep 2010 18:42:57 +0000 (18:42 +0000)
commit01377c720be9d6d12e3fcc2823638a33f7e31ce9
tree10e354ee034c3572f19af4cd78b58ac8e6bf0d72
parenta72bdbc5e29a8f161f90ae5a726ae2badc84c07b
improve hold targetting

* all potential capturable copies are now checked (up to the first
  one that is permitted for the request), instead of a small random
  subset of them
* don't do redundant permission checks

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@17967 dcc99617-32d9-48b4-a31d-7c20da2025e4
Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm