lbry-desktop/ui
infinite-persistence d6a395f9a8 Fix 'content=any' not producing Channels in result
## Issue
1378
> "Content Type: Any" uses `claim_type: [streams, reposts, channels]`,  with `stream_types: ["video", "audio"]`, so channels aren't returned, and not any types of streams either.  Probably shouldn't have `stream_type` filter there.
(This also happens in categories, but maybe wanted in there?)

## Root
Due to this line in `ClaimListDiscover`:
`defaultStreamType = SIMPLE_SITE ? [CS.FILE_VIDEO, CS.FILE_AUDIO] : undefined, // add param for DEFAULT_STREAM_TYPE`

Wanted to check if this fallback was meant for Categories only or any list, but the git history is not preserved because Odysee was a squashed single-commit back in the `SIMPLE_SITE` days.

## Change
Will assume it was meant for Category Page only and moved that line from the component and into the client-side.

This also means that clients of `ClaimListDiscover` without `streamTypes` and `defaultStreamTypes` defined will no longer have `stream_types: ['video', 'audio']` as the automatic fallback (they must define `defaultStreamTypes` themselves). I think this modal is clearer -- it doesn't make sense to have filters like "content=any" but overridden quietly to `video|audio`.
2022-04-27 08:32:30 -04:00
..
component Fix 'content=any' not producing Channels in result 2022-04-27 08:32:30 -04:00
constants lint 2022-04-26 08:18:41 -04:00
contexts Category: Hide "Repost" from ContentType filter, except for WildWest 2022-04-25 08:49:46 -04:00
effects Generalize useGetLastVisibleSlot 2022-04-18 19:06:02 +08:00
modal pass in contentName to repost modal 2022-04-12 21:07:41 +08:00
page Fix 'content=any' not producing Channels in result 2022-04-27 08:32:30 -04:00
redux Add ability to store quality settings as default 2022-04-26 08:18:41 -04:00
scss Fix auto quality display 2022-04-26 08:18:41 -04:00
util Use videojs::http-streaming for all except iPhones 2022-04-25 09:14:24 -04:00
analytics.js Thumbnail improvements 2022-03-21 13:13:25 -04:00
app.js
comments.js Remove custom comments server 2022-02-03 10:24:58 -05:00
i18n.js Add env to auto report new strings in console 2022-01-05 00:26:31 -08:00
index.jsx Consolidate legal/requirements fetch 2022-03-17 10:25:59 -04:00
lbry.js Revert "Log which method caused Failed to fetch" 2022-03-19 07:31:14 +08:00
logWarningConsoleMessage.js new lbc icon 2020-09-29 17:12:32 -04:00
native.js working 2020-12-16 10:52:22 -05:00
reducers.js Support resume-able upload via tus (#186) 2021-11-10 13:16:16 -05:00
rewards.js Change logic for daily reward claiming to weekly 2021-12-23 02:40:58 -05:00
store.js Patch to restore position upon returning to video until more fully fleshed out fix can be introduced (#817) 2022-02-07 12:51:26 -05:00