diff --git a/app/models/org.rb b/app/models/org.rb index e754693..3b67296 100644 --- a/app/models/org.rb +++ b/app/models/org.rb @@ -4,6 +4,11 @@ extend Dragonfly::Model::Validations ## + # Sort order: Name ASC + default_scope { order(name: :asc) } + + + ## # Associations # belongs_to :organisation_type # depricated, but cannot be removed until migration run belongs_to :language