[open-ils-commits] [GIT] Evergreen ILS branch rel_2_3 updated. 6e5bee24ee72f1c2fd5345d1b5d306507f3fd5ae
Evergreen Git
git at git.evergreen-ils.org
Tue Aug 13 22:07: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, rel_2_3 has been updated
via 6e5bee24ee72f1c2fd5345d1b5d306507f3fd5ae (commit)
from 52a63bf1066109a6b151dda399416d31285cff64 (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 6e5bee24ee72f1c2fd5345d1b5d306507f3fd5ae
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