aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/search/SearchBox.tsx
diff options
context:
space:
mode:
authormadelinegr <monika_hedman@brown.edu>2019-06-11 15:02:45 -0400
committermadelinegr <monika_hedman@brown.edu>2019-06-11 15:02:45 -0400
commit70775bc705dd79f35b99eae7f37a0484d176ce22 (patch)
tree0c27714450f663cc080f5c3fddd65b08e23048fc /src/client/views/search/SearchBox.tsx
parent0c066dac5eb3e7c47b708a6a5a1d95dc75f320fe (diff)
things sort of working with toggle?
Diffstat (limited to 'src/client/views/search/SearchBox.tsx')
-rw-r--r--src/client/views/search/SearchBox.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/search/SearchBox.tsx b/src/client/views/search/SearchBox.tsx
index 67122b320..836062af6 100644
--- a/src/client/views/search/SearchBox.tsx
+++ b/src/client/views/search/SearchBox.tsx
@@ -33,7 +33,7 @@ export class SearchBox extends React.Component {
@observable private _open: boolean = false;
@observable private _resultsOpen: boolean = false;
@observable private _results: Doc[] = [];
- @observable forceReRender: boolean = false;
+ @observable filterBoxStatus: boolean = false;
@action.bound
onChange(e: React.ChangeEvent<HTMLInputElement>) {
@@ -243,7 +243,7 @@ export class SearchBox extends React.Component {
<div className="filter-form filter-div" id="header">Filter Search Results</div>
<div className="filter-form " id="option">
<div className="required-words filter-div">
- <ToggleBar optionOne={"Include Any Keywords"} optionTwo={"Include All Keywords"} changeStatus={this.handleWordQueryChange} />
+ <ToggleBar originalStatus={this._wordStatus} optionOne={"Include Any Keywords"} optionTwo={"Include All Keywords"} changeStatus={this.handleWordQueryChange} />
</div>
<div className="type-of-node filter-div">
<IconBar updateIcon={this.updateIcon} getIcons={this.getIcons}/>