mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Include table metadata when calculating applied facets
Still need to ensure facets from metadata cannot be hidden in the UI
This commit is contained in:
parent
f5e7db07aa
commit
5c198f7ca5
3 changed files with 32 additions and 10 deletions
|
|
@ -33,7 +33,7 @@ async def test_column_facet_results(app_client):
|
|||
database="fixtures",
|
||||
sql="select * from facetable",
|
||||
table="facetable",
|
||||
configs=[{"single": "city_id"}],
|
||||
configs=[{"simple": "city_id"}],
|
||||
)
|
||||
buckets, timed_out = await facet.facet_results()
|
||||
assert [] == timed_out
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue