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

Version 3 proposal: Add a :sort_by option #30

Closed
wants to merge 3 commits into from

Commits on Oct 21, 2012

  1. Version 3 proposal: Add a :sort_by option

    As indicated in #29, the currently undocumented behavior of a
    direct call to `ranked_in_list` is to do no sorting on the results.
    The call was originally intended to be used to retrieve a list
    of friends from a leaderboard. However, it would be useful in
    certain situations to have the results sorted. This adds a
    `:sort_by` option to that would be appropriate for the
    `ranked_in_list` call to sort by either score (`:score`) or
    rank (`:rank`) when returning results.
    David Czarnecki committed Oct 21, 2012
    Configuration menu
    Copy the full SHA
    0fd079f View commit details
    Browse the repository at this point in the history
  2. Version 3 proposal: Add a :sort_by option

    As indicated in #29, the currently undocumented behavior of a
    direct call to `ranked_in_list` is to do no sorting on the results.
    The call was originally intended to be used to retrieve a list
    of friends from a leaderboard. However, it would be useful in
    certain situations to have the results sorted. This adds a
    `:sort_by` option to that would be appropriate for the
    `ranked_in_list` call to sort by either score (`:score`) or
    rank (`:rank`) when returning results.
    David Czarnecki committed Oct 21, 2012
    Configuration menu
    Copy the full SHA
    a8bd12f View commit details
    Browse the repository at this point in the history
  3. Merge

    David Czarnecki committed Oct 21, 2012
    Configuration menu
    Copy the full SHA
    8ad4d1c View commit details
    Browse the repository at this point in the history