aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/search.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/lib/search.ts')
-rw-r--r--server/lib/search.ts1
1 files changed, 0 insertions, 1 deletions
diff --git a/server/lib/search.ts b/server/lib/search.ts
index 2f4c5eed9..b3363fbec 100644
--- a/server/lib/search.ts
+++ b/server/lib/search.ts
@@ -12,7 +12,6 @@ function isSearchIndexSearch (query: SearchTargetQuery) {
12 12
13 if (searchIndexConfig.ENABLED !== true) return false 13 if (searchIndexConfig.ENABLED !== true) return false
14 14
15 if (searchIndexConfig.DISABLE_LOCAL_SEARCH) return true
16 if (searchIndexConfig.IS_DEFAULT_SEARCH && !query.searchTarget) return true 15 if (searchIndexConfig.IS_DEFAULT_SEARCH && !query.searchTarget) return true
17 16
18 return false 17 return false