summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2009-03-12 19:35:36 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2009-03-12 19:35:36 +0000
commiteb7903c0ec040ae6575a9c4b4ac6626e4518795a (patch)
treef41a45295366fb8da296529e3226f5002f5a3fb6 /app
parenta42e56f65d265baea0df3a3866c60ca2ba4f0155 (diff)
downloadredmine-eb7903c0ec040ae6575a9c4b4ac6626e4518795a.tar.gz
redmine-eb7903c0ec040ae6575a9c4b4ac6626e4518795a.zip
Only retrieve query name for display.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2579 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r--app/helpers/issues_helper.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/helpers/issues_helper.rb b/app/helpers/issues_helper.rb
index 4157f55de..7eae3314c 100644
--- a/app/helpers/issues_helper.rb
+++ b/app/helpers/issues_helper.rb
@@ -50,6 +50,7 @@ module IssuesHelper
# Project specific queries and global queries
visible << (@project.nil? ? ["project_id IS NULL"] : ["project_id IS NULL OR project_id = ?", @project.id])
@sidebar_queries = Query.find(:all,
+ :select => 'id, name',
:order => "name ASC",
:conditions => visible.conditions)
end