Permalink
Browse files

non-technical judges were seeing technical entries

  • Loading branch information...
1 parent 2b48861 commit 0bb2ea84c9909b68ef705a0a734b7a25b4e0e818 @gerad gerad committed Nov 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 models/person.coffee
View
@@ -191,7 +191,7 @@ PersonSchema.method 'nextTeam', (next) ->
# if you're a judge
if @judge
# non-technical judges don't see technical entries
- filter.technical = ($ne: true) if not @technical
+ filter['entry.technical'] = false if not @technical
# judges only see entries with pitch videos
filter['entry.videoURL'] = /./

0 comments on commit 0bb2ea8

Please sign in to comment.