diff options
| author | Tyler Schicke <tyler_schicke@brown.edu> | 2019-07-16 17:03:46 -0400 |
|---|---|---|
| committer | Tyler Schicke <tyler_schicke@brown.edu> | 2019-07-16 17:03:46 -0400 |
| commit | 2e12b7e348ec842ddc2deb6a47f58b6312f2aa95 (patch) | |
| tree | 2f6f72de9f254f57ee12da5a637f9064303c46d6 /src/client/views/search | |
| parent | 6353522fbd8dc961b9c172b15d33af842fdab323 (diff) | |
| parent | dcabf9f5d6910b1374460298a57cc72bdaad5fd9 (diff) | |
Merge branch 'master' of github-tsch-brown:browngraphicslab/Dash-Web
Diffstat (limited to 'src/client/views/search')
| -rw-r--r-- | src/client/views/search/FilterBox.tsx | 2 | ||||
| -rw-r--r-- | src/client/views/search/SearchBox.tsx | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/client/views/search/FilterBox.tsx b/src/client/views/search/FilterBox.tsx index f28b074a7..706d1eb7f 100644 --- a/src/client/views/search/FilterBox.tsx +++ b/src/client/views/search/FilterBox.tsx @@ -170,7 +170,7 @@ export class FilterBox extends React.Component { return finalQuery; } - get fieldFiltersApplied() { return !(this._deletedDocsStatus && this._authorFieldStatus && this._titleFieldStatus); } + get fieldFiltersApplied() { return !(this._authorFieldStatus && this._titleFieldStatus); } //TODO: basically all of this //gets all of the collections of all the docviews that are selected diff --git a/src/client/views/search/SearchBox.tsx b/src/client/views/search/SearchBox.tsx index cb4aef961..d07df7e58 100644 --- a/src/client/views/search/SearchBox.tsx +++ b/src/client/views/search/SearchBox.tsx @@ -97,6 +97,7 @@ export class SearchBox extends React.Component { this._resultsSet.clear(); this._isSearch = []; this._visibleElements = []; + FilterBox.Instance.closeFilter(); //if there is no query there should be no result if (query === "") { |
