change "is_private" issue filter order from 15 to 16 (#12018)

Order 15 is duplicate with "watcher_id" filter.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10552 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2012-10-04 04:09:41 +00:00
parent eaf46c5512
commit 7c0c699f95
2 changed files with 3 additions and 1 deletions

View File

@ -352,7 +352,7 @@ class Query < ActiveRecord::Base
if User.current.allowed_to?(:set_issues_private, nil, :global => true) ||
User.current.allowed_to?(:set_own_issues_private, nil, :global => true)
@available_filters["is_private"] = {
:type => :list, :order => 15,
:type => :list, :order => 16,
:values => [[l(:general_text_yes), "1"], [l(:general_text_no), "0"]]
}
end

View File

@ -39,5 +39,7 @@ class QueriesHelperTest < ActionView::TestCase
assert_equal "project_id", fo[2][1]
assert_equal "tracker_id", fo[3][1]
assert_equal "priority_id", fo[4][1]
assert_equal "watcher_id", fo[17][1]
assert_equal "is_private", fo[18][1]
end
end