Correct facet links for columns with a leading underscore, closes #1506

This commit is contained in:
Simon Willison 2021-11-13 20:44:54 -08:00
commit c306b696de
8 changed files with 179 additions and 43 deletions

View file

@ -82,7 +82,7 @@ async def test_table_exists(db, tables, exists):
"on_earth",
"state",
"city_id",
"neighborhood",
"_neighborhood",
"tags",
"complex_array",
"distinct_some_null",
@ -170,7 +170,7 @@ async def test_table_columns(db, table, expected):
),
Column(
cid=6,
name="neighborhood",
name="_neighborhood",
type="text",
notnull=0,
default_value=None,