Skip to content

Commit 0bb2ea8

Browse files
author
Gerad Suyderhoud
committed
non-technical judges were seeing technical entries
1 parent 2b48861 commit 0bb2ea8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/person.coffee

+1-1
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ PersonSchema.method 'nextTeam', (next) ->
191191
# if you're a judge
192192
if @judge
193193
# non-technical judges don't see technical entries
194-
filter.technical = ($ne: true) if not @technical
194+
filter['entry.technical'] = false if not @technical
195195

196196
# judges only see entries with pitch videos
197197
filter['entry.videoURL'] = /./

0 commit comments

Comments
 (0)