go-gitea/routers/api/v1
Allen Wild bc208783cc api: repos/search: add parameters to control the sort order
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-05-24 19:06:13 -04:00
..
admin Cleanup models.User.HashPassword (#3334) 2018-01-12 00:19:38 +02:00
convert Populate URL field of API commits (#3546) 2018-02-20 20:50:42 +08:00
misc Rework special link parsing in the post-processing of markup (#3354) 2018-02-27 09:09:18 +02:00
org don't reset team/repo count when updating team via API (#3831) 2018-04-29 13:22:57 +08:00
repo api: repos/search: add parameters to control the sort order 2018-05-24 19:06:13 -04:00
swagger Add Attachment API (#3478) 2018-03-06 09:22:16 +08:00
user LDAP Public SSH Keys synchronization (#1844) 2018-05-24 07:59:02 +03:00
utils Add more webhooks support and refactor webhook templates directory (#3929) 2018-05-16 22:01:55 +08:00
api.go API endpoint for testing webhook (#3550) 2018-04-29 14:21:33 +08:00