From 4b8a6b7a76ccadfd39ec037e282018c7d588dea8 Mon Sep 17 00:00:00 2001
From: Monika <monika_hedman@brown.edu>
Date: Fri, 21 Jun 2019 11:31:34 -0400
Subject: about to make some big changes - things are working nicely

---
 src/client/views/search/SearchBox.tsx | 10 ++--------
 1 file changed, 2 insertions(+), 8 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 2ff960aeb..71472886f 100644
--- a/src/client/views/search/SearchBox.tsx
+++ b/src/client/views/search/SearchBox.tsx
@@ -30,6 +30,7 @@ import { CollectionView } from '../collections/CollectionView';
 import { CollectionPDFView } from '../collections/CollectionPDFView';
 import { CollectionVideoView } from '../collections/CollectionVideoView';
 import { CollectionFilters } from './CollectionFilters';
+import { NaviconButton } from './NaviconButton';
 
 export enum Keys {
     TITLE = "title",
@@ -82,14 +83,7 @@ export class SearchBox extends React.Component {
         ToggleBar.Instance.resetToggle();
         IconBar.Instance.selectAll();
         FieldFilters.Instance.resetFieldFilters();
-        // console.log("field filters at end")
-        // console.log("title", this.titleFieldStatus, "author:", this.authorFieldStatus, "data:", this.dataFieldStatus)
-        // console.log("should be true, true, true\n")
-        
         CollectionFilters.Instance.resetCollectionFilters();
-        // console.log("collection filters at end")
-        // console.log("normal;", this.collectionStatus, "self:", this.collectionSelfStatus, "parent:", this.collectionParentStatus)
-        // console.log("should be fase, true, true")
     }
 
     @action.bound
@@ -324,7 +318,7 @@ export class SearchBox extends React.Component {
 
     @action
     openFilter = () => {
-        this._filterOpen = true;
+        this._filterOpen = !this._filterOpen;
         this._resultsOpen = false;
         this._results = [];
     }
-- 
cgit v1.2.3-70-g09d2

