Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-24 18:56:11 +01:00
forgejo/routers/api/v1
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 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 Swagger.v1.json template (#3572) 2018-07-28 03:19:01 +03:00
org Fixes repo membership check in API (#4341) 2018-07-05 15:14:56 +08:00
repo api: repos/search: add parameters to control the sort order (#3964) 2018-08-02 16:10:02 +08:00
swagger Issue due date api (#3890) 2018-07-16 14:43:00 +02:00
user Respect email privacy option in user search via API (#4512) 2018-07-25 15:11:22 +03:00
utils Add more webhooks support and refactor webhook templates directory (#3929) 2018-05-16 22:01:55 +08:00
api.go Swagger.v1.json template (#3572) 2018-07-28 03:19:01 +03:00