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:
Mark VanLandingham 2019-10-09 12:49:28 -05:00 committed by Robin Ward
parent a91ad81ed1
commit d710316ed1
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ class Site
end
def user_fields
UserField.all
UserField.order(:position).all
end
def categories