Make "work_packages" default search scope

pull/6929/head
Wieland Lindenthal 6 years ago
parent 262d47ec25
commit 8a89d27a47
  1. 2
      lib/redmine/search.rb

@ -76,7 +76,7 @@ module Redmine
# Returns the default search scope according to the current action
def default_search_scope
@default_search_scope ||= default_search_scopes[controller_name.to_sym][:actions][action_name.to_sym] ||
default_search_scopes[controller_name.to_sym][:default]
default_search_scopes[controller_name.to_sym][:default] || "work_packages"
end
end
end

Loading…
Cancel
Save