Feature #2920 ยป query_project_patch.diff
| app/models/query.rb (working copy) | ||
|---|---|---|
| 168 | 168 |
if User.current.logged? |
| 169 | 169 |
@available_filters["watcher_id"] = { :type => :list, :order => 15, :values => [["<< #{l(:label_me)} >>", "me"]] }
|
| 170 | 170 |
end |
| 171 |
|
|
| 171 | ||
| 172 |
@available_filters["project_id"] = { :type => :list, :order => 16, :values => User.current.projects.sort.collect{|p| [p.name, p.id.to_s]} }
|
|
| 173 | ||
| 172 | 174 |
if project |
| 173 | 175 |
# project specific filters |
| 174 | 176 |
unless @project.issue_categories.empty? |