search: fix busted scope introduced in sphinx update
This commit is contained in:
parent
da560f1da4
commit
1ef58d6496
|
@ -51,9 +51,9 @@ class Search
|
||||||
opts[:classes] = case what
|
opts[:classes] = case what
|
||||||
when "all"
|
when "all"
|
||||||
[ Story, Comment ]
|
[ Story, Comment ]
|
||||||
when what == "comments"
|
when "comments"
|
||||||
[ Comment ]
|
[ Comment ]
|
||||||
when what == "stories"
|
when "stories"
|
||||||
[ Story ]
|
[ Story ]
|
||||||
else
|
else
|
||||||
[]
|
[]
|
||||||
|
|
Loading…
Reference in a new issue