mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Don't duplicate _sort_desc, refs #1738
This commit is contained in:
parent
080d4b3e06
commit
1563c22a8c
2 changed files with 2 additions and 1 deletions
|
|
@ -710,7 +710,7 @@ class TableView(DataView):
|
|||
for key in request.args:
|
||||
if (
|
||||
key.startswith("_")
|
||||
and key not in ("_sort", "_search", "_next")
|
||||
and key not in ("_sort", "_sort_desc", "_search", "_next")
|
||||
and "__" not in key
|
||||
):
|
||||
for value in request.args.getlist(key):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue