From 545ee46a02c3544d4f9746be40c14566e44fbcf3 Mon Sep 17 00:00:00 2001 From: infiinte-persistence Date: Thu, 18 Feb 2021 15:54:30 +0800 Subject: [PATCH] Add content type and language filters to channel page ## Issue 5219: Add content type and language filters to channel page ## Notes There is a quirk in the dropdown (see 5542: Language filter doesn't reflect effective setting if language is outside of `SEARCHABLE_LANGUAGES[ ]`) --- ui/component/channelContent/view.jsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ui/component/channelContent/view.jsx b/ui/component/channelContent/view.jsx index d1ac200c0..9c42e2880 100644 --- a/ui/component/channelContent/view.jsx +++ b/ui/component/channelContent/view.jsx @@ -71,7 +71,7 @@ function ChannelContent(props: Props) { !showMature ? '&nsfw=false&size=25&from=0' : '' }` ) - .then(results => { + .then((results) => { const urls = results.map(({ name, claimId }) => { return `lbry://${name}#${claimId}`; }); @@ -124,11 +124,9 @@ function ChannelContent(props: Props) { tileLayout={tileLayout} uris={searchResults} channelIds={[claim.claim_id]} - claimType={CS.CLAIM_TYPES} feeAmount={CS.FEE_AMOUNT_ANY} defaultOrderBy={CS.ORDER_BY_NEW} pageSize={defaultPageSize} - streamType={CS.CONTENT_ALL} infiniteScroll={defaultInfiniteScroll} injectedItem={SHOW_ADS && !isAuthenticated && IS_WEB && } meta={