[open-ils-commits] [GIT] Evergreen ILS branch rel_2_3 updated. 46959b3963e4ae4f9e8faae64b1772259cc58384

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_3 has been updated
       via  46959b3963e4ae4f9e8faae64b1772259cc58384 (commit)
      from  58845f8a32dbf95c84a44d3d77538db9ac4782f0 (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 46959b3963e4ae4f9e8faae64b1772259cc58384
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 51fc33a..8f1447b 100644
--- a/Open-ILS/examples/fm_IDL.xml
+++ b/Open-ILS/examples/fm_IDL.xml
@@ -9740,7 +9740,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),
@@ -9750,7 +9750,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