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