diff --git a/lbry/wallet/server/db/elasticsearch/constants.py b/lbry/wallet/server/db/elasticsearch/constants.py index d9b736e85..54e9f31a6 100644 --- a/lbry/wallet/server/db/elasticsearch/constants.py +++ b/lbry/wallet/server/db/elasticsearch/constants.py @@ -51,7 +51,7 @@ FIELDS = { 'title', 'author', 'description', 'timestamp', 'creation_timestamp', 'duration', 'release_time', - 'tags', + 'tags', 'languages', 'has_source', 'reposted_claim_type', 'reposted_claim_id', 'repost_count', 'trending_group', 'trending_mixed', 'trending_local', 'trending_global', } diff --git a/tests/integration/blockchain/test_claim_commands.py b/tests/integration/blockchain/test_claim_commands.py index 6d7863581..effc2542e 100644 --- a/tests/integration/blockchain/test_claim_commands.py +++ b/tests/integration/blockchain/test_claim_commands.py @@ -70,7 +70,9 @@ class ClaimSearchCommand(ClaimTestCase): async def assertFindsClaims(self, claims, **kwargs): kwargs.setdefault('order_by', ['height', '^name']) results = await self.claim_search(**kwargs) - self.assertEqual(len(claims), len(results)) + self.assertEqual( + len(claims), len(results), + f"{[claim['outputs'][0]['name'] for claim in claims]} != {[result['name'] for result in results]}") for claim, result in zip(claims, results): self.assertEqual( (claim['txid'], self.get_claim_id(claim)),