[open-ils-commits] [GIT] Evergreen ILS branch master updated. 1c595b8d9b92a57b9e48d55d30e215a00afadcfe
Evergreen Git
git at git.evergreen-ils.org
Mon Aug 26 12:22:02 EDT 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, master has been updated
via 1c595b8d9b92a57b9e48d55d30e215a00afadcfe (commit)
from ad0da8c8fed4699e8a881d0e1e85cba1742e64bf (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 1c595b8d9b92a57b9e48d55d30e215a00afadcfe
Author: Chris Sharp <csharp at georgialibraries.org>
Date: Mon Jul 22 12:35:46 2013 -0400
Fixing LP 1203796.
The alternate view in the Item Status screen shows a "Total Circs"
field that was under-counting circulations because UNION filtered
out duplicates. This commit replaces UNION with UNION ALL, which
allows duplicate rows.
Signed-off-by: Chris Sharp <csharp at georgialibraries.org>
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 f4c2440..6107b95 100644
--- a/Open-ILS/examples/fm_IDL.xml
+++ b/Open-ILS/examples/fm_IDL.xml
@@ -10444,7 +10444,7 @@ SELECT usr,
asset.copy cp
JOIN action.circulation circ ON (cp.id = circ.target_copy)
GROUP BY 1, 3, 4
- UNION
+ UNION ALL
SELECT
cp.id as copy,
COUNT(circ.id),
@@ -10454,7 +10454,7 @@ SELECT usr,
asset.copy cp
JOIN action.aged_circulation circ ON (cp.id = circ.target_copy)
GROUP BY 1, 3, 4
- UNION
+ UNION ALL
SELECT
id as copy,
circ_count,
-----------------------------------------------------------------------
Summary of changes:
Open-ILS/examples/fm_IDL.xml | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list