mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Facets now execute ignoring ?_col and ?_nocol, fixes #1345
This commit is contained in:
parent
7b106e1060
commit
f7d3e76fb3
2 changed files with 37 additions and 8 deletions
|
|
@ -2041,6 +2041,21 @@ def test_http_options_request(app_client):
|
|||
"/fixtures/facetable.json?_col=state&_col=created&_nocol=created",
|
||||
["pk", "state"],
|
||||
),
|
||||
(
|
||||
# Ensure faceting doesn't break, https://github.com/simonw/datasette/issues/1345
|
||||
"/fixtures/facetable.json?_nocol=state&_facet=state",
|
||||
[
|
||||
"pk",
|
||||
"created",
|
||||
"planet_int",
|
||||
"on_earth",
|
||||
"city_id",
|
||||
"neighborhood",
|
||||
"tags",
|
||||
"complex_array",
|
||||
"distinct_some_null",
|
||||
],
|
||||
),
|
||||
(
|
||||
"/fixtures/simple_view.json?_nocol=content",
|
||||
["upper_content"],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue