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
and you try to reactivate the facet with 'facet by this' on the tags columns menu:
the facets are now based on the entire JSON arrays:
On a local installation of Datasette (version 0.63.2), using another database, I configured metadata.json to specify array facets, following the documentation example:
{
"facets": [
{"array": "data_string"},
]
}
However, if the facets are properly interpreted as JSON arrays, they could not be removed (as specified in the doc).
Is there a way to activate facet by JSON array on a column without making it permanent? And still available by selecting the "facet by this" command in the menu of the column?
Hello,
On the URL given as example for Facet by JSON in the documentation, if the facet on tags is deactivated (by clicking on the x):
and you try to reactivate the facet with 'facet by this' on the tags columns menu:
the facets are now based on the entire JSON arrays:
On a local installation of Datasette (version 0.63.2), using another database, I configured metadata.json to specify array facets, following the documentation example:
However, if the facets are properly interpreted as JSON arrays, they could not be removed (as specified in the doc).
Is there a way to activate facet by JSON array on a column without making it permanent? And still available by selecting the "facet by this" command in the menu of the column?
In other way, how "facet by this" could redirect the page to https://latest.datasette.io/fixtures/facetable?_facet_array=tags rather than https://latest.datasette.io/fixtures/facetable?_facet_tags=&_facet=tags in the doc's example?
Thank you,
The text was updated successfully, but these errors were encountered: