fixed CustomField#for_all

pull/523/head
Markus Kahl 11 years ago
parent 38f954e323
commit 60a14e8c44
  1. 2
      app/models/custom_field.rb

@ -210,7 +210,7 @@ class CustomField < ActiveRecord::Base
# to move in project_custom_field
def self.for_all(options = {})
options.merge({:conditions => ["is_for_all=?", true], :oder => 'position'})
options.merge!({:conditions => ["is_for_all=?", true], :order => 'position'})
find :all, options
end

Loading…
Cancel
Save