Skip to content

Commit

Permalink
Also support list of paths for PathIndex
Browse files Browse the repository at this point in the history
  • Loading branch information
maethu committed Aug 8, 2024
1 parent 1c504c1 commit 6047c86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/collective/elasticsearch/indexes.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ def extract(self, name, data):
return data[name]["path"]

def get_query(self, name, value):
if isinstance(value, str):
if isinstance(value, str) or isinstance(value, list):
paths = value
depth = -1
navtree = False
Expand Down

0 comments on commit 6047c86

Please sign in to comment.