From 6cc8699d97c741389019af8e0dc21004149c3933 Mon Sep 17 00:00:00 2001 From: Marshall Polaris Date: Fri, 26 Aug 2022 19:47:41 -0700 Subject: [PATCH] Fix index for new comment list code --- firestore.indexes.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/firestore.indexes.json b/firestore.indexes.json index 874344be..80b08996 100644 --- a/firestore.indexes.json +++ b/firestore.indexes.json @@ -40,6 +40,10 @@ "collectionGroup": "comments", "queryScope": "COLLECTION_GROUP", "fields": [ + { + "fieldPath": "commentType", + "order": "ASCENDING" + }, { "fieldPath": "userId", "order": "ASCENDING"