diff options
author | Andy Rickert <andrew_rickert@brown.edu> | 2020-08-13 16:51:01 -0400 |
---|---|---|
committer | Andy Rickert <andrew_rickert@brown.edu> | 2020-08-13 16:51:01 -0400 |
commit | a2a1f480a9af6cdf9863750df9314e29455cba60 (patch) | |
tree | 652d64567d52d970a7d9dd07f4826578a48ec84d /src/client/util/SearchUtil.ts | |
parent | 5eac2ff540de180aab78a3b27a103c8cd07d4264 (diff) |
total results, schema field fixes, filtering in headers
Diffstat (limited to 'src/client/util/SearchUtil.ts')
-rw-r--r-- | src/client/util/SearchUtil.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/util/SearchUtil.ts b/src/client/util/SearchUtil.ts index 3073da954..286544222 100644 --- a/src/client/util/SearchUtil.ts +++ b/src/client/util/SearchUtil.ts @@ -83,7 +83,7 @@ export namespace SearchUtil { } } - return { docs: theDocs, numFound: theDocs.length, highlighting, lines: theLines }; + return { docs: theDocs, numFound: result.numFound, highlighting, lines: theLines }; } export async function GetAliasesOfDocument(doc: Doc): Promise<Doc[]>; |