[open-ils-commits] [GIT] Evergreen ILS branch rel_2_5 updated. 161cb8e92a3c5a5ac2255b0c952f8de0743cdbdd
Evergreen Git
git at git.evergreen-ils.org
Thu Sep 18 16:28:45 EDT 2014
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_5 has been updated
via 161cb8e92a3c5a5ac2255b0c952f8de0743cdbdd (commit)
from 0234c59782c9a552a3afd6f328d006fe73de7e18 (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 161cb8e92a3c5a5ac2255b0c952f8de0743cdbdd
Author: Steven Callender <stevecallender at esilibrary.com>
Date: Thu Mar 13 13:34:23 2014 -0400
LP#1292129: Removed deleted call numbers from the search results to properly show copy count.
The SQL in fm_IDL.xml for setting up the reporter source "Hold/Copy
Ratio per Bib" includes deleted call numbers which in turn can give
an incorrect copy count. The ratio appears to still be correct because
deleted copies are considered in the ratio calculation, but not the
copy count that is displayed.
Signed-off-by: Steven Callender <stevecallender at esilibrary.com>
Signed-off-by: Ben Shum <bshum at biblio.org>
diff --git a/Open-ILS/examples/fm_IDL.xml b/Open-ILS/examples/fm_IDL.xml
index 68253f9..90350ee 100644
--- a/Open-ILS/examples/fm_IDL.xml
+++ b/Open-ILS/examples/fm_IDL.xml
@@ -10056,7 +10056,7 @@ SELECT usr,
SELECT
(SELECT id
FROM biblio.record_entry
- WHERE id = (SELECT record FROM asset.call_number WHERE id = call_number)
+ WHERE id = (SELECT record FROM asset.call_number WHERE id = call_number and deleted is false)
) AS "bre",
COUNT(*) AS "copy_count"
FROM asset.copy
-----------------------------------------------------------------------
Summary of changes:
Open-ILS/examples/fm_IDL.xml | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list