mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-12 13:24:19 +00:00
Secondarily sort by extension name instead of ID (#7866)
This PR makes it so extensions are secondarily sorted by their name (instead of by ID) after we sort them by their download count. Release Notes: - N/A
This commit is contained in:
parent
23132b5ab1
commit
bf1bcd027c
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ impl Database {
|
|||
let extensions = extension::Entity::find()
|
||||
.filter(condition)
|
||||
.order_by_desc(extension::Column::TotalDownloadCount)
|
||||
.order_by_asc(extension::Column::Id)
|
||||
.order_by_asc(extension::Column::Name)
|
||||
.limit(Some(limit as u64))
|
||||
.filter(
|
||||
extension::Column::LatestVersion
|
||||
|
|
Loading…
Reference in a new issue