diff options
author | tschicke-brown <tyler_schicke@brown.edu> | 2019-07-16 16:46:45 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-16 16:46:45 -0400 |
commit | dcabf9f5d6910b1374460298a57cc72bdaad5fd9 (patch) | |
tree | 2e8615a57d758ceff5467da3b166bfbcaf751285 | |
parent | 7dfe23b50305a32f14cccca3cea50a1d730e17df (diff) | |
parent | ecbae6521dde8e7e973b8d5f4e826746ea21a665 (diff) |
Merge pull request #211 from browngraphicslab/search_virt
Search virt
-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 ba68ccd54..32319d897 100644 --- a/src/client/views/search/SearchBox.tsx +++ b/src/client/views/search/SearchBox.tsx @@ -94,6 +94,7 @@ export class SearchBox extends React.Component { this._results = []; this._isSearch = []; this._visibleElements = []; + FilterBox.Instance.closeFilter(); //if there is no query there should be no result if (query === "") { |