summaryrefslogtreecommitdiffstats
path: root/app/models/issue_query.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2013-04-19 07:18:38 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2013-04-19 07:18:38 +0000
commit7ab18f6aa1d214657951ebf1fcb266e2fcf1d6bc (patch)
tree32b607d894430ada35d96ea1fcc6e28551d6d956 /app/models/issue_query.rb
parent6c182d0a8ae3b01e7a668eae93c84cd3b2ed9a7e (diff)
downloadredmine-7ab18f6aa1d214657951ebf1fcb266e2fcf1d6bc.tar.gz
redmine-7ab18f6aa1d214657951ebf1fcb266e2fcf1d6bc.zip
remove trailing white-spaces and redundant empty line from app/models/issue_query.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11726 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/issue_query.rb')
-rw-r--r--app/models/issue_query.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/models/issue_query.rb b/app/models/issue_query.rb
index 5b818cc28..5e0abfebe 100644
--- a/app/models/issue_query.rb
+++ b/app/models/issue_query.rb
@@ -66,7 +66,7 @@ class IssueQuery < Query
versions = []
categories = []
issue_custom_fields = []
-
+
if project
principals += project.principals.sort
unless project.leaf?
@@ -87,7 +87,6 @@ class IssueQuery < Query
principals.sort!
users = principals.select {|p| p.is_a?(User)}
-
add_available_filter "status_id",
:type => :list_status, :values => IssueStatus.sorted.all.collect{|s| [s.name, s.id.to_s] }