[open-ils-commits] r9021 - trunk/Open-ILS/src/sql/Pg
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri Mar 14 17:04:37 EDT 2008
Author: miker
Date: 2008-03-14 16:30:58 -0400 (Fri, 14 Mar 2008)
New Revision: 9021
Modified:
trunk/Open-ILS/src/sql/Pg/300.schema.staged_search.sql
Log:
only using active adjustments
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-14 19:22:29 UTC (rev 9020)
+++ trunk/Open-ILS/src/sql/Pg/300.schema.staged_search.sql 2008-03-14 20:30:58 UTC (rev 9021)
@@ -163,7 +163,7 @@
END IF;
- FOR rank_adjust IN SELECT * FROM search.relevance_adjustment WHERE field IN ( SELECT * FROM search.explode_array( mb_field_list ) ) LOOP
+ FOR rank_adjust IN SELECT * FROM search.relevance_adjustment WHERE active AND field IN ( SELECT * FROM search.explode_array( mb_field_list ) ) LOOP
IF NOT rank_adjust.bump_type = ANY (used_ranks) THEN
More information about the open-ils-commits
mailing list