@@ -139,7 +139,7 class Query < ActiveRecord::Base | |||
|
139 | 139 | |
|
140 | 140 | @available_filters = { "status_id" => { :type => :list_status, :order => 1, :values => IssueStatus.find(:all, :order => 'position').collect{|s| [s.name, s.id.to_s] } }, |
|
141 | 141 | "tracker_id" => { :type => :list, :order => 2, :values => trackers.collect{|s| [s.name, s.id.to_s] } }, |
|
142 | "priority_id" => { :type => :list, :order => 3, :values => Enumeration.find(:all, :conditions => ['opt=?','IPRI']).collect{|s| [s.name, s.id.to_s] } }, | |
|
142 | "priority_id" => { :type => :list, :order => 3, :values => Enumeration.find(:all, :conditions => ['opt=?','IPRI'], :order => 'position').collect{|s| [s.name, s.id.to_s] } }, | |
|
143 | 143 | "subject" => { :type => :text, :order => 8 }, |
|
144 | 144 | "created_on" => { :type => :date_past, :order => 9 }, |
|
145 | 145 | "updated_on" => { :type => :date_past, :order => 10 }, |
General Comments 0
You need to be logged in to leave comments.
Login now