diff options
Diffstat (limited to 'p2pvr/lib/sql/Schedules_GetCandidates.sql')
-rw-r--r-- | p2pvr/lib/sql/Schedules_GetCandidates.sql | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/p2pvr/lib/sql/Schedules_GetCandidates.sql b/p2pvr/lib/sql/Schedules_GetCandidates.sql index f7ad997..8e8b15e 100644 --- a/p2pvr/lib/sql/Schedules_GetCandidates.sql +++ b/p2pvr/lib/sql/Schedules_GetCandidates.sql @@ -12,7 +12,7 @@ from ( and (s.eventid is null or s.eventid = e.eventid) and (s.search is null or event_tsvector(e) @@ plainto_tsquery(s.search)) and sv.serviceid = e.serviceid - and e.starttime > now() + and e.stoptime > now() and not exists ( select 1 from recorded r |