fix: [AH-598] Fix Registry Page SortBy Type | Gitness (#3048)

* fix: [AH-598] Fix Registry Page SortBy Type
This commit is contained in:
Ritek Rounak 2024-11-26 12:30:47 +00:00 committed by Harness
parent 98363cf455
commit 75578cfb4c

View File

@ -39,6 +39,7 @@ var registrySort = []string{
"registrySize",
"artifactsCount",
"downloadsCount",
"type",
}
const (
@ -57,6 +58,7 @@ var RegistrySortMap = map[string]string{
"artifactsCount": "artifact_count",
"downloadsCount": "download_count",
"createdAt": "created_at",
"type": "type",
}
var artifactSort = []string{