From c1d2f806d972d7c483546d6ac0e5df8a0455ba3a Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Thu, 11 Dec 2014 16:59:06 +0000 Subject: Add missing sort criteria --- p2pvr/daemon/sql/SI_eventSearch.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/p2pvr/daemon/sql/SI_eventSearch.sql b/p2pvr/daemon/sql/SI_eventSearch.sql index 3a43b41..7ff0cf7 100644 --- a/p2pvr/daemon/sql/SI_eventSearch.sql +++ b/p2pvr/daemon/sql/SI_eventSearch.sql @@ -30,5 +30,5 @@ and (event_tsvector(e) @@ plainto_tsquery(?) or ?::text is null) order by max(ts_rank(event_tsvector(e), plainto_tsquery(?))) over(partition by title) desc, max(ts_rank(event_tsvector(e), plainto_tsquery(?))) over(partition by title, subtitle, description) desc, - e.title, e.subtitle, e.starttime, e.serviceId, e.eventId + e.title, e.subtitle, e.description, e.starttime, e.serviceId, e.eventId -- cgit v1.2.3