summaryrefslogtreecommitdiff
path: root/gentoobrowse/datasources/schema.sql
diff options
context:
space:
mode:
Diffstat (limited to 'gentoobrowse/datasources/schema.sql')
-rw-r--r--gentoobrowse/datasources/schema.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/gentoobrowse/datasources/schema.sql b/gentoobrowse/datasources/schema.sql
index 47761fc..0d62c3e 100644
--- a/gentoobrowse/datasources/schema.sql
+++ b/gentoobrowse/datasources/schema.sql
@@ -287,7 +287,7 @@ CREATE FUNCTION packagefts(p packages) RETURNS tsvector
BEGIN
RETURN (SETWEIGHT(TO_TSVECTOR('english', p.name), 'A') ||
SETWEIGHT(TO_TSVECTOR('english', p.description), 'B') ||
- SETWEIGHT(TO_TSVECTOR('english', COALESCE(p.description, '')), 'C'));
+ SETWEIGHT(TO_TSVECTOR('english', COALESCE(p.summary, '')), 'C'));
END
$$;