mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Foreign key facets are now expanded to labels, refs #255
This commit is contained in:
parent
a892f9a0bd
commit
6d12580ed7
6 changed files with 162 additions and 59 deletions
|
|
@ -36,8 +36,8 @@ def test_urlsafe_components(path, expected):
|
|||
('city', 'Detroit'),
|
||||
), '/?_facet=state&_facet=city&state=MI&city=Detroit'),
|
||||
('/?_facet=state&_facet=city', (
|
||||
('_facet', 'planet_id'),
|
||||
), '/?_facet=state&_facet=city&_facet=planet_id'),
|
||||
('_facet', 'planet_int'),
|
||||
), '/?_facet=state&_facet=city&_facet=planet_int'),
|
||||
])
|
||||
def test_path_with_added_args(path, added_args, expected):
|
||||
request = Request(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue