[open-ils-commits] [GIT] Evergreen ILS branch master updated. bcb54d4fe255135f00726fbb9c923d3a38d1e76f

Evergreen Git git at git.evergreen-ils.org
Tue Aug 13 22:07:01 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  bcb54d4fe255135f00726fbb9c923d3a38d1e76f (commit)
      from  76708bcc596980d74ed2825d1ba12b3692b35dba (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 bcb54d4fe255135f00726fbb9c923d3a38d1e76f
Author: Chris Sharp <csharp at georgialibraries.org>
Date:   Wed Jul 31 11:03:25 2013 -0400

    Fixing LP 1072892 - repeated rows in reporter.classic_item_list view
    
    The view joined the actor.card table in such a way that all library
    cards (active or not) were being returned.  This commit changes that
    behavior so that only the current card (from actor.usr.card) is returned.
    
    Signed-off-by: Chris Sharp <csharp at georgialibraries.org>
    Signed-off-by: Ben Shum <bshum at biblio.org>

diff --git a/Open-ILS/src/sql/Pg/example.reporter-extension.sql b/Open-ILS/src/sql/Pg/example.reporter-extension.sql
index 2bffcef..6ab5f40 100644
--- a/Open-ILS/src/sql/Pg/example.reporter-extension.sql
+++ b/Open-ILS/src/sql/Pg/example.reporter-extension.sql
@@ -235,7 +235,7 @@ SELECT  t.value as title,
     LEFT JOIN metabib.full_rec p ON (cn.record = p.record AND p.tag = '260' and p.subfield = 'c')
     LEFT JOIN action.circulation circ ON (circ.target_copy = cp .id AND circ.checkin_time IS NULL)
     LEFT JOIN actor.usr circ_u ON (circ_u.id = circ.usr)
-    LEFT JOIN actor.card circ_card ON (circ_u.id = circ_card.usr)
+    LEFT JOIN actor.card circ_card ON (circ_u.card = circ_card.id)
     LEFT JOIN asset.stat_cat_entry_copy_map sc1 ON (sc1.owning_copy = cp.id AND sc1.stat_cat = 1)
     LEFT JOIN asset.stat_cat_entry sce1 ON (sce1.id = sc1.stat_cat_entry)
     LEFT JOIN asset.stat_cat_entry_copy_map sc2 ON (sc2.owning_copy = cp.id AND sc2.stat_cat = 2)

-----------------------------------------------------------------------

Summary of changes:
 Open-ILS/src/sql/Pg/example.reporter-extension.sql |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list