diff options
author | Andy Rickert <andrew_rickert@brown.edu> | 2020-04-01 18:11:08 -0700 |
---|---|---|
committer | Andy Rickert <andrew_rickert@brown.edu> | 2020-04-01 18:11:08 -0700 |
commit | 3a1dac48c00dbe81142da90f8b52bfae02ce1921 (patch) | |
tree | bd81d435d079b3e70b6901d91f4ea90e3b35fe2f /src/client/documents/Documents.ts | |
parent | c71695328de0078c5f59bf50c994f1333e58e625 (diff) |
fixed backend filter and passing search query to new doc
Diffstat (limited to 'src/client/documents/Documents.ts')
-rw-r--r-- | src/client/documents/Documents.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts index 247f7fa3e..948433bd1 100644 --- a/src/client/documents/Documents.ts +++ b/src/client/documents/Documents.ts @@ -146,7 +146,8 @@ export interface DocumentOptions { selectedIndex?: number; syntaxColor?: string; // can be applied to text for syntax highlighting all matches in the text searchText?: string, //for searchbox - + sq?: string, + fq?: string, } class EmptyBox { @@ -459,6 +460,7 @@ export namespace Docs { } export function QueryDocument(options: DocumentOptions = {}) { + console.log("yuh"); return InstanceFromProto(Prototypes.get(DocumentType.QUERY), "", options); } |