]> git.koha-community.org Git - koha.git/commit
bug 2522 [3/3]: populate hold_fill_targets
authorGalen Charlton <galen.charlton@liblime.com>
Fri, 15 Aug 2008 01:59:51 +0000 (20:59 -0500)
committerChris Cormack <chris@bigballofwax.co.nz>
Thu, 3 Sep 2009 21:35:24 +0000 (09:35 +1200)
commit5eafcf52def1d290a1888132d43cb830ce546ded
tree16e679b41b844df6e0a792e5d31886e032669f35
parent799a663ada336f35cd9c58a2feae0e1a436e1ad4
bug 2522 [3/3]: populate hold_fill_targets

This batch job now automatically populates the
holds request targeting table hold_fill_targets.

This patch is essentially a revamp of the job,
and includes fixes for the following bugs:

2281 (holds queue report including unavailable items)
2331 (holds queue report not working with item-level
      holds)
2332 (holds queue script should attempt to fill
      many requests as possible).

Several functions in this batch job are candidates
for being moved to C4::Reserves:

GetBibsWithPendingHoldRequests()
GetPendingHoldRequestsForBib()
GetItemsAvailableToFillHoldRequestsForBib()
MapItemsToHoldRequests()

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