#145 fix for multiple filters and one search. Multiple search locations not supported yet.
This commit is contained in:
parent
c3fa69ba28
commit
e4d0eaf5b1
@ -317,7 +317,10 @@ def get_content(libraries, jbop, filters=None, search=None, limit=None):
|
||||
child_lst += list(set(filter_lst) & set(search_lst))
|
||||
else:
|
||||
pass
|
||||
|
||||
# Keep only results found from both search and filters
|
||||
if keyword and filters:
|
||||
child_lst = list(set(i for i in child_lst if child_lst.count(i) > 1))
|
||||
|
||||
play_lst = child_lst
|
||||
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user