mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Fix bug with toggle_url on integer facets
This commit is contained in:
parent
1dc94f6eaa
commit
514873c629
1 changed files with 1 additions and 1 deletions
|
|
@ -520,7 +520,7 @@ class TableView(RowTableShared):
|
||||||
selected = str(other_args.get(column)) == str(row["value"])
|
selected = str(other_args.get(column)) == str(row["value"])
|
||||||
if selected:
|
if selected:
|
||||||
toggle_path = path_with_removed_args(
|
toggle_path = path_with_removed_args(
|
||||||
request, {column: row["value"]}
|
request, {column: str(row["value"])}
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
toggle_path = path_with_added_args(
|
toggle_path = path_with_added_args(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue