home / github / issues

Menu
  • Search all tables
  • GraphQL API

issues: 312395790

This data as json

id node_id number title user state locked assignee milestone comments created_at updated_at closed_at author_association pull_request body repo type active_lock_reason performed_via_github_app reactions draft state_reason
312395790 MDU6SXNzdWUzMTIzOTU3OTA= 197 Ability to sort by more than one column 9599 open 0     0 2018-04-09T05:13:30Z 2018-07-10T17:45:37Z   OWNER  

Split off from #189.

I'd like to support "sort by X descending, then by Y ascending if there are dupes for X" as well. Suggested syntax for that:

?_sort_desc=X&_sort=Y

we currently only allow one argument to be sent. We should allow as many arguments as there are columns, for example:

?_sort=department&_sort_desc=precinct&_sort=age&_sort_desc=size
107914493 issue    
{
    "url": "https://api.github.com/repos/simonw/datasette/issues/197/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
   

Links from other tables

  • 1 row from issues_id in issues_labels
  • 0 rows from issue in issue_comments
Powered by Datasette · Queries took 0.895ms · About: github-to-sqlite