You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
6 years ago
..
branch.go refactor: import order. (#3736) 6 years ago
collaborators.go refactor: import order. (#3736) 6 years ago
file.go Fix swagger errors (#4220) 6 years ago
fork.go refactor: import order. (#3736) 6 years ago
hook.go Fix swagger errors (#4220) 6 years ago
hook_test.go API endpoint for testing webhook (#3550) 6 years ago
issue.go Added dependencies for issues (#2196) (#2531) 6 years ago
issue_comment.go Fix query parameter name comment in issue API (#4421) 6 years ago
issue_label.go fix wrong issue endpoints in swagger doc (#3914) 6 years ago
issue_tracked_time.go Fix swagger errors (#4220) 6 years ago
key.go refactor: import order. (#3736) 6 years ago
label.go refactor: import order. (#3736) 6 years ago
main_test.go API endpoint for testing webhook (#3550) 6 years ago
milestone.go Fix swagger errors (#4220) 6 years ago
pull.go Added dependencies for issues (#2196) (#2531) 6 years ago
release.go Fix some webhooks bugs (#3981) 6 years ago
release_attachment.go refactor: import order. (#3736) 6 years ago
repo.go api: repos/search: add parameters to control the sort order (#3964) 6 years ago
star.go refactor: import order. (#3736) 6 years ago
status.go refactor: import order. (#3736) 6 years ago
subscriber.go refactor: import order. (#3736) 6 years ago