Sorting deliverables by subject in select fields. #1430
This commit is contained in:
+1
-1
@@ -40,7 +40,7 @@ module QueryPatch
|
||||
|
||||
if project
|
||||
budget_filters = { "deliverable_id" => { :type => :list_optional, :order => 14,
|
||||
:values => Deliverable.find(:all, :conditions => ["project_id IN (?)", project]).collect { |d| [d.subject, d.id.to_s]}
|
||||
:values => Deliverable.find(:all, :conditions => ["project_id IN (?)", project], :order => 'subject ASC').collect { |d| [d.subject, d.id.to_s]}
|
||||
}}
|
||||
else
|
||||
budget_filters = { }
|
||||
|
||||
Reference in New Issue
Block a user