From 70775bc705dd79f35b99eae7f37a0484d176ce22 Mon Sep 17 00:00:00 2001
From: madelinegr <monika_hedman@brown.edu>
Date: Tue, 11 Jun 2019 15:02:45 -0400
Subject: things sort of working with toggle?

---
 src/client/views/search/SearchBox.tsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'src/client/views/search/SearchBox.tsx')

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}/>
-- 
cgit v1.2.3-70-g09d2

