If you do descending order on a column, the URL will have ?desc=1
. If you then apply a filter, this part of the url becomes desc=True
, which breaks the ViewArgs
parsing, resulting in the sorting going back to ascending.
One possible fix (I think..) is to remove the bool
casting of the sort_desc
argument to ViewArgs