bug 2677: restore RandomizeHoldsQueueWeight and StaticHoldsQueueWeight
authorGalen Charlton <galen.charlton@liblime.com>
Wed, 15 Oct 2008 13:52:34 +0000 (08:52 -0500)
committerGalen Charlton <galen.charlton@liblime.com>
Thu, 16 Oct 2008 14:50:52 +0000 (09:50 -0500)
commit9fd39af7a000ccaee93f82910dc2d1df8a8627a2
tree71e6fd0b32370624536345de63891ac5dc9c1cd8
parent2cf0eeedb6d322eff32630e8a7a3acc509fac2d2
bug 2677: restore RandomizeHoldsQueueWeight and StaticHoldsQueueWeight

Restoring the functionality of these sysprefs as part of the
rework of build_holds_queue.pl:

* StaticHoldsQueueWeight is an ordered list of library codes.
  The order of the libraries in this list determines the order
  of libraries in which available items will be chosen to be
  targeted to holds.  Note that if this list does not include
  a library, items from that library will never be targeted to
  holds and staff will never be asked to retrieve items for
  title-level holds from those libraries.

* RandomizeHoldsQueueWeight is a Boolean parameter, indicating
  whether to randomize the libraries in the StaticHoldsQueueWeight
  list.

If neither RandomizeHoldsQueueWeight nor StaticHoldsQueueWeight is
set, then the libraries will be used to target items to holds in
alphabetical order by library code.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
misc/cronjobs/holds/build_holds_queue.pl