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[ ]`)
This commit is contained in:
infiinte-persistence 2021-02-18 15:54:30 +08:00 committed by Sean Yesmunt
parent f660267dc5
commit 545ee46a02

View file

@ -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 && <Ads type="video" />}
meta={