@@ -50,6 +50,7 module IssuesHelper | |||||
50 | # Project specific queries and global queries |
|
50 | # Project specific queries and global queries | |
51 | visible << (@project.nil? ? ["project_id IS NULL"] : ["project_id IS NULL OR project_id = ?", @project.id]) |
|
51 | visible << (@project.nil? ? ["project_id IS NULL"] : ["project_id IS NULL OR project_id = ?", @project.id]) | |
52 | @sidebar_queries = Query.find(:all, |
|
52 | @sidebar_queries = Query.find(:all, | |
|
53 | :select => 'id, name', | |||
53 | :order => "name ASC", |
|
54 | :order => "name ASC", | |
54 | :conditions => visible.conditions) |
|
55 | :conditions => visible.conditions) | |
55 | end |
|
56 | end |
General Comments 0
You need to be logged in to leave comments.
Login now