diff --git a/.github/config.yml b/.github/config.yml index f67cdc4f..892b9e53 100644 --- a/.github/config.yml +++ b/.github/config.yml @@ -8,7 +8,7 @@ newIssueWelcomeComment: > newPRWelcomeComment: > Yay, your first pull request! :thumbsup: A contributor will be by to give feedback soon. In the meantime, please review the [Layer5 Community Welcome Guide](https://docs.google.com/document/d/17OPtDE_rdnPQxmk2Kauhm3GwXF1R5dZ3Cj8qZLKdo5E/edit?usp=sharing) and sure to join the [community Slack](http://slack.layer5.io/). - Be sure to double-check that you have signed your commits. Here are instructions for [making signing an implicit activity while peforming a commit](../CONTRIBUTING.md#signing-off-on-commits-developer-certificate-of-origin). + Be sure to double-check that you have signed your commits. Here are instructions for [making signing an implicit activity while peforming a commit](https://github.com/meshery/meshkit/blob/master/CONTRIBUTING.md#general-contribution-flow). #------------------------------------------------------------------------------- diff --git a/models/meshmodel/registry/registry.go b/models/meshmodel/registry/registry.go index b3ca48a1..911a5aa1 100644 --- a/models/meshmodel/registry/registry.go +++ b/models/meshmodel/registry/registry.go @@ -383,6 +383,8 @@ func (rm *RegistryManager) GetModels(db *database.Handler, f types.Filter) ([]v1 } else { finder = finder.Order(mf.OrderOn) } + } else { + finder = finder.Order("display_name") } finder.Count(&count)