From 72ddb0c195edc94ca4be86874bbe2449ace6314e Mon Sep 17 00:00:00 2001 From: Lex Berezhny Date: Mon, 20 Jul 2020 22:44:18 -0400 Subject: [PATCH] use normalized instead of claim_name for claim search --- lbry/db/queries/search.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lbry/db/queries/search.py b/lbry/db/queries/search.py index ba2a434ea..bf422dcae 100644 --- a/lbry/db/queries/search.py +++ b/lbry/db/queries/search.py @@ -134,7 +134,7 @@ def select_claims(cols: List = None, for_count=False, **constraints) -> Select: constraints['reposted_claim_hash'] = unhexlify(constraints.pop('reposted_claim_id'))[::-1] if 'name' in constraints: - constraints['claim_name'] = normalize_name(constraints.pop('name')) + constraints['normalized'] = normalize_name(constraints.pop('name')) if 'public_key_id' in constraints: constraints['public_key_hash'] = (