mirror of
https://github.com/harness/drone.git
synced 2025-05-31 11:43:15 +00:00
fix: [AH-598] Fix Registry Page SortBy Type | Gitness (#3048)
* fix: [AH-598] Fix Registry Page SortBy Type
This commit is contained in:
parent
98363cf455
commit
75578cfb4c
@ -39,6 +39,7 @@ var registrySort = []string{
|
|||||||
"registrySize",
|
"registrySize",
|
||||||
"artifactsCount",
|
"artifactsCount",
|
||||||
"downloadsCount",
|
"downloadsCount",
|
||||||
|
"type",
|
||||||
}
|
}
|
||||||
|
|
||||||
const (
|
const (
|
||||||
@ -57,6 +58,7 @@ var RegistrySortMap = map[string]string{
|
|||||||
"artifactsCount": "artifact_count",
|
"artifactsCount": "artifact_count",
|
||||||
"downloadsCount": "download_count",
|
"downloadsCount": "download_count",
|
||||||
"createdAt": "created_at",
|
"createdAt": "created_at",
|
||||||
|
"type": "type",
|
||||||
}
|
}
|
||||||
|
|
||||||
var artifactSort = []string{
|
var artifactSort = []string{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user