diff options
| author | Tyler Schicke <tyler_schicke@brown.edu> | 2019-07-15 17:38:52 -0400 |
|---|---|---|
| committer | Tyler Schicke <tyler_schicke@brown.edu> | 2019-07-15 17:38:52 -0400 |
| commit | ce8684aae01fb8329b9523737839ee814afeb4a4 (patch) | |
| tree | f6e9636b18720b98027af76e1d5319306d41e095 /src | |
| parent | ce12312c415da1460419b7a4fdb73fdacf28106a (diff) | |
Search tweak
Diffstat (limited to 'src')
| -rw-r--r-- | src/client/views/search/SearchBox.tsx | 2 |
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(" "); } |
