forked from LBRYCommunity/lbry-sdk
removed default order_by for claim_search
This commit is contained in:
parent
22c8ca6c40
commit
71cb03345b
1 changed files with 0 additions and 2 deletions
|
@ -418,8 +418,6 @@ def search(constraints) -> Tuple[List, List, int, int, Censor]:
|
|||
total = count_claims(**constraints)
|
||||
constraints['offset'] = abs(constraints.get('offset', 0))
|
||||
constraints['limit'] = min(abs(constraints.get('limit', 10)), 50)
|
||||
if 'order_by' not in constraints:
|
||||
constraints['order_by'] = ["claim_hash"]
|
||||
context = ctx.get()
|
||||
search_censor = context.get_search_censor()
|
||||
txo_rows = search_claims(search_censor, **constraints)
|
||||
|
|
Loading…
Reference in a new issue