Fixed issue with sort and theme keys still being applied as GET parameters.
This commit is contained in:
@@ -48,8 +48,8 @@ def get_modification_timestamp(path_obj):
|
||||
return 0
|
||||
|
||||
|
||||
def build_query(search_text, sort_key, theme):
|
||||
query = {"sort": sort_key, "theme": theme}
|
||||
def build_query(search_text):
|
||||
query = {}
|
||||
|
||||
if search_text != "":
|
||||
query["search"] = search_text
|
||||
|
||||
Reference in New Issue
Block a user