diff options
author | Andy Rickert <andrew_rickert@brown.edu> | 2020-04-27 15:44:43 -0700 |
---|---|---|
committer | Andy Rickert <andrew_rickert@brown.edu> | 2020-04-27 15:44:43 -0700 |
commit | 15ee40ea8da5140ba5db62185b4a26d36bf6255e (patch) | |
tree | f37eebeb2c9c6c007cd5d116c275edd52b17772a /src/client/views/nodes/QueryBox.tsx | |
parent | d2884635f82f28e75c69ca25919800c9cd91f925 (diff) |
refactored searchbox doctype out from querybox class to help with displaying search results as different collection types
Diffstat (limited to 'src/client/views/nodes/QueryBox.tsx')
-rw-r--r-- | src/client/views/nodes/QueryBox.tsx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/client/views/nodes/QueryBox.tsx b/src/client/views/nodes/QueryBox.tsx index 7929c6c33..eb57b98d2 100644 --- a/src/client/views/nodes/QueryBox.tsx +++ b/src/client/views/nodes/QueryBox.tsx @@ -33,7 +33,10 @@ export class QueryBox extends ViewBoxAnnotatableComponent<FieldViewProps, QueryD } const dragging = !SelectionManager.GetIsDragging() ? "" : "-dragging"; return <div className={`queryBox${dragging}`} onWheel={(e) => e.stopPropagation()} > - <SearchBox id={this.props.Document[Id]} sideBar={side} Document={this.props.Document} searchQuery={StrCast(this.dataDoc.searchQuery)} filterQuery={this.dataDoc.filterQuery} /> + + <SearchBox Document={this.props.Document} /> </div >; } -}
\ No newline at end of file +} + +//<SearchBox id={this.props.Document[Id]} sideBar={side} Document={this.props.Document} searchQuery={StrCast(this.dataDoc.searchQuery)} filterQuery={this.dataDoc.filterQuery} /> |