FIX: Order UserFields by position, by default (#8176)
* FIX: site user_fields sorted by position * FIX: Sort UserField by position for Site
This commit is contained in:
parent
a91ad81ed1
commit
d710316ed1
|
@ -25,7 +25,7 @@ class Site
|
|||
end
|
||||
|
||||
def user_fields
|
||||
UserField.all
|
||||
UserField.order(:position).all
|
||||
end
|
||||
|
||||
def categories
|
||||
|
|
Loading…
Reference in New Issue