Don't persist _next in hidden field, closes #1483

This commit is contained in:
Simon Willison 2021-10-13 14:08:06 -07:00
commit b50bf5d13f
2 changed files with 11 additions and 1 deletions

View file

@ -889,7 +889,7 @@ class TableView(RowTableShared):
form_hidden_args = []
for key in request.args:
if key.startswith("_") and key not in ("_sort", "_search"):
if key.startswith("_") and key not in ("_sort", "_search", "_next"):
for value in request.args.getlist(key):
form_hidden_args.append((key, value))