mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-06-20 16:10:50 +00:00
Swift files can be passed either as file or as form value (#34068)
Fix #33990 --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> (cherry picked from commit 2683adfcb4f7c5ee6ff56b3311ac657cb95c03a9)
This commit is contained in:
parent
d0b7a2cccf
commit
875534e50a
3 changed files with 122 additions and 15 deletions
|
@ -279,9 +279,7 @@ func (opts *PackageSearchOptions) configureOrderBy(e db.Engine) {
|
|||
default:
|
||||
e.Desc("package_version.created_unix")
|
||||
}
|
||||
|
||||
// Sort by id for stable order with duplicates in the other field
|
||||
e.Asc("package_version.id")
|
||||
e.Desc("package_version.id") // Sort by id for stable order with duplicates in the other field
|
||||
}
|
||||
|
||||
// SearchVersions gets all versions of packages matching the search options
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue