Fixed some minor SSR issues in search grids

This commit is contained in:
frikky
2022-08-09 00:52:58 +02:00
parent 12670ddb72
commit 9dc16550fa
6 changed files with 173 additions and 159 deletions
+6 -2
View File
@@ -1046,8 +1046,6 @@ class AppBase:
# "ids": ret1.json(),
#}
def get_file_namespace_ids(self, namespace):
return get_file_category_ids(self, namespace)
# Downloads all files from a namespace
# Currently only working on local version of Shuffle
@@ -1081,6 +1079,12 @@ class AppBase:
return myzipfile
def get_file_namespace_ids(self, namespace):
return self.get_file_category_ids(self, namespace)
def get_file_category(self, category):
return self.get_file_namespace(self, category)
# Things to consider for files:
# - How can you download / stream a file?
# - Can you decide if you want a stream or the files directly?