提案 #1291 » search.patch
core/plugin/search/search.rb | ||
---|---|---|
end
|
||
def refresh_tab
|
||
if Enumerator.new{|y| Plugin.filtering(:worlds, y) }.any?{|w| w.class.slug == :twitter }
|
||
if Enumerator.new{|y| Plugin.filtering(:worlds, y) }.any?{|w| search?(w, q: "") }
|
||
present_tab
|
||
else
|
||
absent_tab
|