home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 602122492

This data as json

html_url issue_url id node_id user created_at updated_at author_association body reactions issue performed_via_github_app
https://github.com/simonw/datasette/issues/702#issuecomment-602122492 https://api.github.com/repos/simonw/datasette/issues/702 602122492 MDEyOklzc3VlQ29tbWVudDYwMjEyMjQ5Mg== 9599 2020-03-22T00:01:56Z 2020-03-22T00:01:56Z OWNER

I'm going to mirror the URL syntax here, so the options in metadata.json will be:

  • "sort": "created" to default sort by created
  • "sort_desc": "created" to default sort by created descending

It will throw an error if you try to define both.

If I add the ability to sort by multiple columns in the future (#197) I can allow a list of columns here - though I'm not sure how I would represent "sort by created asc, title desc" in that case.

If you want to disable user-specified sorting you can do so using the existing "sortable_columns": [] mechanism.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
585390482  
Powered by Datasette · Queries took 0.92ms · About: github-to-sqlite