mirror of
https://github.com/tubearchivist/tubearchivist-frontend.git
synced 2024-11-21 19:30:16 +00:00
Merge branch 'testing' of github.com:n8detar/tubearchivist into feat/react-frontend
This commit is contained in:
commit
c6571674a8
@ -364,9 +364,7 @@ class DownloadApiListView(ApiBaseView):
|
||||
def get(self, request):
|
||||
"""get request"""
|
||||
query_filter = request.GET.get("filter", False)
|
||||
self.data.update = {
|
||||
"sort": [{"timestamp": {"order": "asc"}}],
|
||||
}
|
||||
self.data.update({"sort": [{"timestamp": {"order": "asc"}}]})
|
||||
if query_filter:
|
||||
if query_filter not in self.valid_filter:
|
||||
message = f"invalid url query filder: {query_filter}"
|
||||
|
Loading…
Reference in New Issue
Block a user