Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

api: repos/search: add parameters to control the sort order #3964

Merged
merged 6 commits into from
Aug 2, 2018

Commits on May 24, 2018

  1. 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 go-gitea#3963
    
    Signed-off-by: Allen Wild <allenwild93@gmail.com>
    aswild committed May 24, 2018
    Configuration menu
    Copy the full SHA
    bc20878 View commit details
    Browse the repository at this point in the history

Commits on Jun 8, 2018

  1. Configuration menu
    Copy the full SHA
    4922691 View commit details
    Browse the repository at this point in the history

Commits on Jun 11, 2018

  1. Configuration menu
    Copy the full SHA
    07f463f View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2018

  1. Configuration menu
    Copy the full SHA
    5d21d47 View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2018

  1. Configuration menu
    Copy the full SHA
    b959a21 View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2018

  1. Configuration menu
    Copy the full SHA
    49d97de View commit details
    Browse the repository at this point in the history