aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTyler Schicke <tyler_schicke@brown.edu>2019-07-15 17:38:52 -0400
committerTyler Schicke <tyler_schicke@brown.edu>2019-07-15 17:38:52 -0400
commitce8684aae01fb8329b9523737839ee814afeb4a4 (patch)
treef6e9636b18720b98027af76e1d5319306d41e095
parentce12312c415da1460419b7a4fdb73fdacf28106a (diff)
Search tweak
-rw-r--r--src/client/views/search/SearchBox.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/search/SearchBox.tsx b/src/client/views/search/SearchBox.tsx
index 1b4427e66..1f461a4a7 100644
--- a/src/client/views/search/SearchBox.tsx
+++ b/src/client/views/search/SearchBox.tsx
@@ -118,7 +118,7 @@ export class SearchBox extends React.Component {
private get filterQuery() {
const types = FilterBox.Instance.filterTypes;
- return types && types.map(type => `{!join from=id to=proto_i}type_t:"${type}"`).join(" ");
+ return types && types.map(type => `({!join from=id to=proto_i}type_t:"${type} AND NOT type_t:*) OR type_t:"${type}"`).join(" ");
}