lbry-sdk icon indicating copy to clipboard operation
lbry-sdk copied to clipboard

`limit_claims_per_channel` filter works globally only when `len(channel_ids) * limit_claims_per_channel < page_size`

Open keikari opened this issue 2 years ago • 0 comments

limit_claims_per_channel filter works globally only when len(channel_ids) * limit_claims_per_channel < page_size. (If all channels have at least 1 one claim to return)
If there are more channels it will work per page.

With lot of channels, each page may have a claim from some specific channel, which may not be wanted.
(Example can be seen on Odysee "featured" category(new/trending/top), it has limit_claims_per_channel: 1, and first claims on almost every page are from same channels)

keikari avatar Mar 11 '22 13:03 keikari