[open-ils-commits] [GIT] Evergreen ILS branch rel_2_0 updated. 86cf8555661a1c8b4b9c5a15f013c8c4fbbb8e05

Evergreen Git git at git.evergreen-ils.org
Fri Jun 10 17:14:58 EDT 2011


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_0 has been updated
       via  86cf8555661a1c8b4b9c5a15f013c8c4fbbb8e05 (commit)
      from  33356f5e84cbe915a97e36dd06f4c858e749e893 (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 86cf8555661a1c8b4b9c5a15f013c8c4fbbb8e05
Author: Galen Charlton <gmc at esilibrary.com>
Date:   Fri Jun 10 16:58:03 2011 -0400

    lp#795737: improve staff bib search copy visibility check
    
    An errant join in query used to see if a bib is visible
    in the search OU scope for a bib search initiated from the staff
    client signficantly degrade the speed of such searches.
    
    Signed-off-by: Galen Charlton <gmc at esilibrary.com>
    Signed-off-by: Bill Erickson <berick at esilibrary.com>

diff --git a/Open-ILS/src/sql/Pg/300.schema.staged_search.sql b/Open-ILS/src/sql/Pg/300.schema.staged_search.sql
index 2ab2efd..42326a0 100644
--- a/Open-ILS/src/sql/Pg/300.schema.staged_search.sql
+++ b/Open-ILS/src/sql/Pg/300.schema.staged_search.sql
@@ -236,7 +236,6 @@ BEGIN
             PERFORM 1
               FROM  asset.call_number cn
                     JOIN asset.copy cp ON (cp.call_number = cn.id)
-                    JOIN actor.org_unit a ON (cp.circ_lib = a.id)
               WHERE NOT cn.deleted
                     AND NOT cp.deleted
                     AND cp.circ_lib IN ( SELECT * FROM search.explode_array( search_org_list ) )

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

Summary of changes:
 Open-ILS/src/sql/Pg/300.schema.staged_search.sql |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list