forked from LBRYCommunity/lbry-sdk
claim search test fix
This commit is contained in:
parent
5d5e36a2c2
commit
26dd6d2ac7
1 changed files with 1 additions and 0 deletions
|
@ -663,6 +663,7 @@ class SQLDB:
|
||||||
|
|
||||||
if constraints.pop('is_controlling', False):
|
if constraints.pop('is_controlling', False):
|
||||||
if {'sequence', 'amount_order'}.isdisjoint(constraints):
|
if {'sequence', 'amount_order'}.isdisjoint(constraints):
|
||||||
|
join = True
|
||||||
constraints['claimtrie.claim_hash__is_not_null'] = ''
|
constraints['claimtrie.claim_hash__is_not_null'] = ''
|
||||||
if 'sequence' in constraints:
|
if 'sequence' in constraints:
|
||||||
constraints['order_by'] = 'claim.activation_height ASC'
|
constraints['order_by'] = 'claim.activation_height ASC'
|
||||||
|
|
Loading…
Reference in a new issue