aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/search/SearchBox.tsx
diff options
context:
space:
mode:
authormadelinegr <monika_hedman@brown.edu>2019-06-18 17:04:57 -0400
committermadelinegr <monika_hedman@brown.edu>2019-06-18 17:04:57 -0400
commitc871ea8d8891b504b09b45a2d1da1103594f1e15 (patch)
tree5603c335d6110ed7e3fc9d96086663a8e62fea40 /src/client/views/search/SearchBox.tsx
parent56f455334cc41efd3d75ddb1b595caa78c5510bc (diff)
WORKING HELLL YYEEEEEEUH
Diffstat (limited to 'src/client/views/search/SearchBox.tsx')
-rw-r--r--src/client/views/search/SearchBox.tsx9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/client/views/search/SearchBox.tsx b/src/client/views/search/SearchBox.tsx
index 12c21a4e5..755d6a14c 100644
--- a/src/client/views/search/SearchBox.tsx
+++ b/src/client/views/search/SearchBox.tsx
@@ -116,9 +116,6 @@ export class SearchBox extends React.Component {
this._results = results;
this._openNoResults = true;
});
-
- //clears searchstring after search - may not be preferred
- this._searchString = "";
}
@action
@@ -238,10 +235,16 @@ export class SearchBox extends React.Component {
}
//if true, any keywords can be used. if false, all keywords are required.
+ @action.bound
handleWordQueryChange = () => {
this._basicWordStatus = !this._basicWordStatus;
}
+ @action
+ getBasicWordStatus() {
+ return this._basicWordStatus;
+ }
+
@action.bound
updateIcon(newArray: string[]) {
this._icons = newArray;