[open-ils-commits] [GIT] Evergreen ILS branch rel_2_4 updated. 1841f750c0b5022522b5ea1b96b568ea018583d2
Evergreen Git
git at git.evergreen-ils.org
Mon Aug 26 12:22:03 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, rel_2_4 has been updated
via 1841f750c0b5022522b5ea1b96b568ea018583d2 (commit)
from c1c03659cc4fed0304426b384175b3a8984e8144 (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 1841f750c0b5022522b5ea1b96b568ea018583d2
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 f1078cc..fa94cfa 100644
--- a/Open-ILS/examples/fm_IDL.xml
+++ b/Open-ILS/examples/fm_IDL.xml
@@ -10245,7 +10245,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),
@@ -10255,7 +10255,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