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
|
||||
when "all"
|
||||
[ Story, Comment ]
|
||||
when what == "comments"
|
||||
when "comments"
|
||||
[ Comment ]
|
||||
when what == "stories"
|
||||
when "stories"
|
||||
[ Story ]
|
||||
else
|
||||
[]
|
||||
|
|
Loading…
Reference in a new issue