From 11f7e89ee32a7b60261f2c16465d5e709f33f8dd Mon Sep 17 00:00:00 2001 From: Naz Date: Thu, 7 Jul 2022 11:13:55 +0200 Subject: [PATCH] Added missing tagsIndex initialization refs https://github.com/TryGhost/Team/issues/1665 - It is not striclty necessary for the tagsIndex declaration to be in the constructor, but it gives a very clear indication of which variables are a part of the class. --- ghost/sodo-search/src/search-index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/ghost/sodo-search/src/search-index.js b/ghost/sodo-search/src/search-index.js index ade0f0d043..b376cef836 100644 --- a/ghost/sodo-search/src/search-index.js +++ b/ghost/sodo-search/src/search-index.js @@ -11,6 +11,7 @@ export default class SearchIndex { this.postsIndex = null; this.authorsIndex = null; + this.tagsIndex = null; this.init = this.init.bind(this); this.search = this.search.bind(this);