diff options
Diffstat (limited to 'routers/web/explore/repo.go')
-rw-r--r-- | routers/web/explore/repo.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/routers/web/explore/repo.go b/routers/web/explore/repo.go index be5ad1b015..e5f7977abd 100644 --- a/routers/web/explore/repo.go +++ b/routers/web/explore/repo.go @@ -73,6 +73,14 @@ func RenderRepoSearch(ctx *context.Context, opts *RepoSearchOptions) { orderBy = db.SearchOrderBySizeReverse case "size": orderBy = db.SearchOrderBySize + case "reversegitsize": + orderBy = db.SearchOrderByGitSizeReverse + case "gitsize": + orderBy = db.SearchOrderByGitSize + case "reverselfssize": + orderBy = db.SearchOrderByLFSSizeReverse + case "lfssize": + orderBy = db.SearchOrderByLFSSize case "moststars": orderBy = db.SearchOrderByStarsReverse case "feweststars": |