Fixed dumb error

This commit is contained in:
Simon Willison 2019-10-30 12:00:21 -07:00
commit 3ca290e0db

View file

@ -721,7 +721,7 @@ class TableView(RowTableShared):
for arg in ("_fts_table", "_fts_pk"):
if arg in special_args:
form_hidden_args.append((arg, special_args[arg]))
if request.args["_where"]:
if request.args.get("_where"):
for where_text in request.args["_where"]:
form_hidden_args.append(("_where", where_text))
return {