github
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/356#issuecomment-495931140 | https://api.github.com/repos/simonw/datasette/issues/356 | 495931140 | MDEyOklzc3VlQ29tbWVudDQ5NTkzMTE0MA== | 9599 | 2019-05-25T16:30:59Z | 2019-05-25T16:30:59Z | OWNER | I went with a much more simple URL scheme: `?_facet_m2m=destination_table` (it then figures out which the middle table is by looking at the foreign keys). This can be extended to be more complicated in the future if needed. | { "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
346028655 | |
https://github.com/simonw/datasette/issues/356#issuecomment-495931078 | https://api.github.com/repos/simonw/datasette/issues/356 | 495931078 | MDEyOklzc3VlQ29tbWVudDQ5NTkzMTA3OA== | 9599 | 2019-05-25T16:30:09Z | 2019-05-25T16:30:09Z | OWNER | Implemented in https://github.com/simonw/datasette/commit/d923d847545e829bf946bb9170bebfc7c3f9d993 Documentation here: https://datasette.readthedocs.io/en/latest/facets.html#facet-by-many-to-many Demo here: https://latest.datasette.io/fixtures/roadside_attractions | { "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
346028655 |