0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-26 11:04:30 +01:00
gitea/routers
Allen Wild c40f5d2d4c api: repos/search: add parameters to control the sort order (#3964)
The backend SearchRepositoryByName function supports several sort order
options, hook these up to the /repos/search API.

New parameters for /repos/search:
    'sort':  alpha, created, updated, size, or id
    'order': asc or desc

'sort' defaults to alpha.
'order' defaults to ascending, and is ignored if 'sort' is not specified.
The overall default behavior is unchanged (alphabetically ascending).

This partially implements issue #3963

Signed-off-by: Allen Wild <allenwild93@gmail.com>
2018-08-02 16:10:02 +08:00
..
admin
api/v1 api: repos/search: add parameters to control the sort order (#3964) 2018-08-02 16:10:02 +08:00
dev
org
private
repo fix IsPullReuqestBroken->IsPullRequestBroken (#4578) 2018-08-01 11:00:35 +08:00
routes
user fix panic issue on update avatar email (#4580) (#4581) 2018-08-01 17:38:56 +08:00
utils
home.go
init.go
install.go
swagger_json.go