|
|
|
@@ -198,6 +198,8 @@ const ( |
|
|
|
SearchOrderByForks SearchOrderBy = "num_forks ASC" |
|
|
|
SearchOrderByForksReverse SearchOrderBy = "num_forks DESC" |
|
|
|
SearchOrderByDownloadTimes SearchOrderBy = "download_times DESC" |
|
|
|
SearchOrderByHot SearchOrderBy = "(num_watches + num_stars + num_forks + clone_cnt) DESC" |
|
|
|
SearchOrderByActive SearchOrderBy = "(num_issues + num_pulls) DESC" |
|
|
|
) |
|
|
|
|
|
|
|
// SearchRepositoryCondition creates a query condition according search repository options |
|
|
|
|