mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Clearer _sort_by_desc comment
This commit is contained in:
parent
c37a0a93ec
commit
a4def0b8db
1 changed files with 1 additions and 1 deletions
|
|
@ -360,7 +360,7 @@ class TableView(RowTableShared):
|
|||
forward_querystring=False,
|
||||
)
|
||||
|
||||
# Spot ?_sort_by_desc and redirect to _sort_desc=(_sort)
|
||||
# If ?_sort_by_desc=on (from checkbox) redirect to _sort_desc=(_sort)
|
||||
if "_sort_by_desc" in special_args:
|
||||
return self.redirect(
|
||||
request,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue