You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I add a column named 'value' only the JSON facets are processed.
I think that not using aliases could be a solution (except if someone wants to use a column named count(*) though this seems to be unlikely). I'll open a PR with that.
There is also a TODO with a similar question in the same file. I have not looked into that yet.
When a column named 'value' is included there are no suggested facets is shown as the query uses an alias of 'value'.
datasette/datasette/facets.py
Lines 168 to 174 in 452a587
Currently the following is shown (from https://latest.datasette.io/fixtures/facetable)
When I add a column named 'value' only the JSON facets are processed.
I think that not using aliases could be a solution (except if someone wants to use a column named
count(*)
though this seems to be unlikely). I'll open a PR with that.There is also a TODO with a similar question in the same file. I have not looked into that yet.
datasette/datasette/facets.py
Line 512 in 452a587
The text was updated successfully, but these errors were encountered: