Fix context view for certain mtypes
This commit is contained in:
@@ -108,7 +108,7 @@ class ElasticsearchBackend(StorageBackend):
|
||||
extra_should.append({"match": {"nick": channel}})
|
||||
else:
|
||||
for ctype in types:
|
||||
extra_should.append({"equals": {"mtype": ctype}})
|
||||
extra_should.append({"match": {"mtype": ctype}})
|
||||
else:
|
||||
for ctype in types:
|
||||
extra_should.append({"match": {"type": ctype}})
|
||||
|
||||
Reference in New Issue
Block a user