]> source.dussan.org Git - redmine.git/commitdiff
Only retrieve query name for display.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Thu, 12 Mar 2009 19:35:36 +0000 (19:35 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Thu, 12 Mar 2009 19:35:36 +0000 (19:35 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2579 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/helpers/issues_helper.rb

index 4157f55de18e208cbe809ded53392fb5868ca397..7eae3314c31e18c1243425fb646ec36fede7ee56 100644 (file)
@@ -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