|
|
|
@ -181,7 +181,7 @@ module OrganizationsHelper
|
|
|
|
|
if User.current.admin?
|
|
|
|
|
@organization.org_subfields.order("priority")
|
|
|
|
|
else
|
|
|
|
|
@organization.org_subfields.select { |os| (os.field_type != "Comptec" && os.field_type != "Compstu") }.sort_by {|os| os.priority}
|
|
|
|
|
@organization.org_subfields.select { |os| (os.field_type != "Comptec" && os.field_type != "Compstu" && os.field_type != "Comppro" && os.field_type != "Compcou" && os.field_type != "Compact") }.sort_by {|os| os.priority}
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|