Project

General

Profile

Defect #956 » query.rb_1308.diff

diff for app/models/query.rb (r1308) - Thomas Löber, 2008-03-30 00:14

View differences:

app/models/query.rb (working copy)
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 },
(2-2/2)