We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 059da7e commit cc16b4aCopy full SHA for cc16b4a
stac_fastapi/elasticsearch/stac_fastapi/elasticsearch/database_logic.py
@@ -168,7 +168,7 @@ def indices(collection_ids: Optional[List[str]]) -> str:
168
Returns:
169
A string of comma-separated index names. If `collection_ids` is None, returns the default indices.
170
"""
171
- if collection_ids is None:
+ if collection_ids is None or collection_ids == []:
172
return ITEM_INDICES
173
else:
174
return ",".join([index_by_collection_id(c) for c in collection_ids])
0 commit comments