[open-ils-commits] r9065 - trunk/Open-ILS/src/sql/Pg
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Mar 18 00:36:28 EDT 2008
Author: miker
Date: 2008-03-18 00:02:21 -0400 (Tue, 18 Mar 2008)
New Revision: 9065
Modified:
trunk/Open-ILS/src/sql/Pg/300.schema.staged_search.sql
Log:
actually test for transcendance, not just for a source
Modified: trunk/Open-ILS/src/sql/Pg/300.schema.staged_search.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/300.schema.staged_search.sql 2008-03-18 00:26:23 UTC (rev 9064)
+++ trunk/Open-ILS/src/sql/Pg/300.schema.staged_search.sql 2008-03-18 04:02:21 UTC (rev 9065)
@@ -364,7 +364,12 @@
CONTINUE;
END IF;
- PERFORM 1 FROM biblio.record_entry b JOIN config.bib_source s ON (b.source = s.id) WHERE b.id IN ( SELECT * FROM search.explode_array( core_result.records ) );
+ PERFORM 1
+ FROM biblio.record_entry b
+ JOIN config.bib_source s ON (b.source = s.id)
+ WHERE s.transcendant
+ AND b.id IN ( SELECT * FROM search.explode_array( core_result.records ) );
+
IF FOUND THEN
-- RAISE NOTICE ' % were all transcendant ... ', core_result.records;
visible_count := visible_count + 1;
More information about the open-ils-commits
mailing list