has_source is a special case

This commit is contained in:
Victor Shyba 2021-07-22 01:33:13 -03:00 committed by Victor Shyba
parent 3108543ae5
commit c591792de9

View file

@ -487,7 +487,7 @@ def expand_query(**kwargs):
partial_id = True
if key == 'public_key_id':
value = Base58.decode(value)[1:21].hex()
if key == 'signature_valid':
if key in ('signature_valid', 'has_source'):
continue # handled later
if key in TEXT_FIELDS:
key += '.keyword'