datasette
datasette copied to clipboard
Option to un-filter facet not shown for `?col__exact=value`
Spotted this on a page with COUNTY__exact=Lee in the URL:

With COUNTY=Lee you get this instead:
Relevant template: https://github.com/simonw/datasette/blob/e73fa72917ca28c152208d62d07a490c81cadf52/datasette/templates/table.html#L168-L172
Populated from here: https://github.com/simonw/datasette/blob/c496f2b663ff0cef908ffaaa68b8cb63111fb5f2/datasette/facets.py#L246-L253
selected = (column_qs, str(row["value"])) in qs_pairs is wrong.