0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-30 10:05:10 +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 hide issues from org private repos w/o team assignment (#4034) 2018-06-21 12:00:13 -04:00
private
repo fix IsPullReuqestBroken->IsPullRequestBroken (#4578) 2018-08-01 11:00:35 +08:00
routes Swagger.v1.json template (#3572) 2018-07-28 03:19:01 +03:00
user fix panic issue on update avatar email (#4580) (#4581) 2018-08-01 17:38:56 +08:00
utils
home.go fix not respecting landing page setting (#4209) 2018-06-15 11:42:46 +08:00
init.go
install.go Keep preseeded database password (#4284) 2018-07-03 20:09:55 -04:00
swagger_json.go Swagger.v1.json template (#3572) 2018-07-28 03:19:01 +03:00