[open-ils-commits] ***SPAM*** [GIT] Evergreen ILS branch rel_2_3 updated. 9ccd46714ca294ce869502dd6c325355108dd692
Evergreen Git
git at git.evergreen-ils.org
Tue Nov 19 14:30:24 EST 2013
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".
The branch, rel_2_3 has been updated
via 9ccd46714ca294ce869502dd6c325355108dd692 (commit)
from aae90985e56a86f4aa7d801a173580009cc6ccf5 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 9ccd46714ca294ce869502dd6c325355108dd692
Author: Bill Erickson <berick at esilibrary.com>
Date: Wed Apr 3 16:21:25 2013 -0400
Ignore canceled holds during alt-queue generation
When zero potential copies exist for a hold, the hold queue stats code
determines the size and shape of the queue by finding and sorting holds
that have the same type and target. This patch forces the code to
ignore canceled holds when looking for similarly-shaped holds.
Signed-off-by: Bill Erickson <berick at esilibrary.com>
Signed-off-by: Jason Etheridge <jason at esilibrary.com>
diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm
index 5f95694..29d22af 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm
@@ -1360,7 +1360,13 @@ sub retrieve_hold_queue_status_impl {
],
where => {
hold_type => $hold->hold_type,
- target => $hold->target
+ target => $hold->target,
+ capture_time => undef,
+ cancel_time => undef,
+ '-or' => [
+ {expire_time => undef },
+ {expire_time => {'>' => 'now'}}
+ ]
}
});
}
-----------------------------------------------------------------------
Summary of changes:
.../perlmods/lib/OpenILS/Application/Circ/Holds.pm | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list