search: fix busted scope introduced in sphinx update

This commit is contained in:
joshua stein 2014-01-13 00:59:37 -06:00
parent da560f1da4
commit 1ef58d6496

View file

@ -51,9 +51,9 @@ class Search
opts[:classes] = case what
when "all"
[ Story, Comment ]
when what == "comments"
when "comments"
[ Comment ]
when what == "stories"
when "stories"
[ Story ]
else
[]