aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/search
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2022-06-08 19:34:18 -0400
committerbobzel <zzzman@gmail.com>2022-06-08 19:34:18 -0400
commit3fcb141913c095e0bdee8874431a51cafe086e3a (patch)
treee9fb48b34063e2ceaaa65bbaf41f197d61a4f38b /src/client/views/search
parent2e42d66be1439de347305cfd43c6f7e7042127c6 (diff)
parent94975954fbd1ce9b68f6545b16a4eabe4b41cca0 (diff)
merge with master
Diffstat (limited to 'src/client/views/search')
-rw-r--r--src/client/views/search/SearchBox.tsx3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client/views/search/SearchBox.tsx b/src/client/views/search/SearchBox.tsx
index 321af69a1..574193614 100644
--- a/src/client/views/search/SearchBox.tsx
+++ b/src/client/views/search/SearchBox.tsx
@@ -342,6 +342,9 @@ export class SearchBox extends ViewBoxBaseComponent<SearchBoxProps>() {
const query = StrCast(this._searchString);
Doc.SetSearchQuery(query);
+ Array.from(this._results.keys()).forEach(doc =>
+ DocumentManager.Instance.getFirstDocumentView(doc)?.ComponentView?.search?.(this._searchString, undefined, true)
+ );
this._results.clear();
if (query) {