diff options
| author | bobzel <zzzman@gmail.com> | 2020-08-20 12:12:19 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2020-08-20 12:12:19 -0400 |
| commit | aa626240bff72456dccc7f91e433135e393cb161 (patch) | |
| tree | 206143234c9994125a10492884cda41fb27b407b /src/client/util | |
| parent | c4c9c2e7ec10e19ee9fe9c0c93c4d7fe61328171 (diff) | |
more searchBox fixes.
Diffstat (limited to 'src/client/util')
| -rw-r--r-- | src/client/util/SearchUtil.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/util/SearchUtil.ts b/src/client/util/SearchUtil.ts index ce96ab67b..afa8ff575 100644 --- a/src/client/util/SearchUtil.ts +++ b/src/client/util/SearchUtil.ts @@ -85,6 +85,8 @@ export namespace SearchUtil { if (testDoc instanceof Doc && testDoc.type !== DocumentType.KVP && (options.allowAliases || testDoc.proto === undefined || theDocs.findIndex(d => Doc.AreProtosEqual(d, testDoc)) === -1)) { theDocs.push(testDoc); theLines.push([]); + } else { + result.numFound--; } } |
