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 dc857f5 commit 6002735Copy full SHA for 6002735
stac_fastapi/core/stac_fastapi/core/database_logic.py
@@ -167,7 +167,7 @@ def indices(collection_ids: Optional[List[str]]) -> str:
167
Returns:
168
A string of comma-separated index names. If `collection_ids` is None, returns the default indices.
169
"""
170
- if collection_ids is None or collection_ids == []:
+ if not collection_ids:
171
return ITEM_INDICES
172
else:
173
return ",".join([index_alias_by_collection_id(c) for c in collection_ids])
0 commit comments