mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 16:41:17 +08:00
REFACTOR: remove hacky search from discovery
This commit is contained in:
@ -61,7 +61,7 @@ module Discourse
|
||||
class CSRF < StandardError; end
|
||||
|
||||
def self.filters
|
||||
@filters ||= [:latest, :unread, :new, :read, :posted, :bookmarks, :search]
|
||||
@filters ||= [:latest, :unread, :new, :read, :posted, :bookmarks]
|
||||
end
|
||||
|
||||
def self.feed_filters
|
||||
@ -69,7 +69,7 @@ module Discourse
|
||||
end
|
||||
|
||||
def self.anonymous_filters
|
||||
@anonymous_filters ||= [:latest, :top, :categories, :search]
|
||||
@anonymous_filters ||= [:latest, :top, :categories]
|
||||
end
|
||||
|
||||
def self.logged_in_filters
|
||||
|
Reference in New Issue
Block a user