1
1
mirror of https://github.com/go-gitea/gitea.git synced 2024-10-03 06:31:33 +02:00
gitea/templates
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
base Swagger.v1.json template (#3572) 2018-07-28 03:19:01 +03:00
custom
explore
mail
org
repo fix IsPullReuqestBroken->IsPullRequestBroken (#4578) 2018-08-01 11:00:35 +08:00
status
swagger api: repos/search: add parameters to control the sort order (#3964) 2018-08-02 16:10:02 +08:00
user
home.tmpl
install.tmpl