gitroast/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 LDAP Public SSH Keys synchronization (#1844) 2018-05-24 07:59:02 +03:00
api/v1 api: repos/search: add parameters to control the sort order (#3964) 2018-08-02 16:10:02 +08:00
dev Make time diff translatable (#2057) 2017-06-28 13:43:28 +08:00
org hide issues from org private repos w/o team assignment (#4034) 2018-06-21 12:00:13 -04:00
private improve protected branch to add whitelist support (#2451) 2017-09-14 16:16:22 +08:00
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 Allow adding collaborators with (fullname) (#3103) 2017-12-07 15:00:09 +08:00
home.go fix not respecting landing page setting (#4209) 2018-06-15 11:42:46 +08:00
init.go Store OAuth2 session data in database (#3660) 2018-04-29 09:09:24 +03:00
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