Fixed hidden form fields bug #1527

This commit is contained in:
Simon Willison 2022-01-13 16:27:21 -08:00
commit 3a0f7d6488
2 changed files with 18 additions and 6 deletions

View file

@ -815,7 +815,7 @@ class TableView(RowTableShared):
if (
key.startswith("_")
and key not in ("_sort", "_search", "_next")
and not key.endswith("__exact")
and "__" not in key
):
for value in request.args.getlist(key):
form_hidden_args.append((key, value))