diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2017-01-21 10:37:36 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2017-01-21 10:37:36 +0000 |
commit | 1eee6b3a30dfa2e0b7c9aaa5db3da3b3c9965b19 (patch) | |
tree | 30c3f9ce700920202970a6103b6e50bc7f383409 /app/models | |
parent | 8615dc0bcec56803836d8c906e4e83fbab76cf6d (diff) | |
download | redmine-1eee6b3a30dfa2e0b7c9aaa5db3da3b3c9965b19.tar.gz redmine-1eee6b3a30dfa2e0b7c9aaa5db3da3b3c9965b19.zip |
Changed filter position (#17720).
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@16248 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/issue_query.rb | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/app/models/issue_query.rb b/app/models/issue_query.rb index 1b1477e3c..fd5c933c3 100644 --- a/app/models/issue_query.rb +++ b/app/models/issue_query.rb @@ -145,6 +145,14 @@ class IssueQuery < Query :type => :list, :values => [["<< #{l(:label_me)} >>", "me"]] end + add_available_filter("updated_by", + :type => :list, :values => lambda { author_values } + ) + + add_available_filter("last_updated_by", + :type => :list, :values => lambda { author_values } + ) + if project && !project.leaf? add_available_filter "subproject_id", :type => :list_subprojects, @@ -165,14 +173,6 @@ class IssueQuery < Query add_available_filter "issue_id", :type => :integer, :label => :label_issue - add_available_filter("updated_by", - :type => :list, :values => lambda { author_values } - ) - - add_available_filter("last_updated_by", - :type => :list, :values => lambda { author_values } - ) - Tracker.disabled_core_fields(trackers).each {|field| delete_available_filter field } |