home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 996119954

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/625#issuecomment-996119954 https://api.github.com/repos/simonw/datasette/issues/625 996119954 IC_kwDOBm6k_c47X5WS 9599 2021-12-16T19:36:01Z 2021-12-16T19:36:11Z OWNER

Datasette's own HTML rendering code doesn't actually use the keys in facet_results - it instead loops through sorted_facet_results which is defined like this: https://github.com/simonw/datasette/blob/992496f2611a72bd51e94bfd0b17c1d84e732487/datasette/views/table.py#L937-L941

And used like this:

https://github.com/simonw/datasette/blob/992496f2611a72bd51e94bfd0b17c1d84e732487/datasette/templates/table.html#L154-L156

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