]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1326983: excluded fulfilled holds when adding hold_request.shelf_expires_soon...
authorGalen Charlton <gmc@esilibrary.com>
Thu, 5 Jun 2014 22:16:23 +0000 (15:16 -0700)
committerBen Shum <bshum@biblio.org>
Fri, 6 Jun 2014 00:03:49 +0000 (20:03 -0400)
commit1a9e623ab0d0b841961afaa0a9810a24b8e98f19
treef62582789eb78e84588d8d53ac00fc06d6ab3db7
parent66836d67afa947e11dab9b8e010780ce261202f0
LP#1326983: excluded fulfilled holds when adding hold_request.shelf_expires_soon events

This patch adjusts the example A/T filter for the
hold_request.shelf_expires_soon hook to exclude hold requests that are
already marked as fulfilled.  This saves time creating events that
would immediately be marked as invalid per the HoldIsAvailable
validator.

It also addresses an issue for large databases that have lots of
fulfilled holds wherein hold_request.shelf_expires_soon events can
fail to be added at all due to a cstore timeout.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Ben Shum <bshum@biblio.org>
Open-ILS/examples/action_trigger_filters.json.example