Swift files can be passed either as file or as form value (#34068)

Fix #33990

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
Wolfgang Reithmeierandwxiaoguang authored and GitHub committed 2025-04-18 20:09:56 +08:00
1 parent dd0caf7e16
commit 2683adfcb4
3 files changed
+123 -15

No files matched your search

+1 -3
View File
@@ -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