mirror of
https://github.com/FluxaMedia/fluxa-core.git
synced 2026-08-17 12:44:27 +00:00
Don't filter anime discover results by native item type
"anime" is a virtual content-type bucket in Discover that doesn't map to Stremio's native movie/series type field, so items from anime-flagged catalogs were being dropped when their underlying type didn't literally equal "anime". Treat it like the empty-filter case.
This commit is contained in:
parent
90d13d9983
commit
69e4c0974c
1 changed files with 1 additions and 0 deletions
|
|
@ -373,6 +373,7 @@ pub(crate) fn discover_sort_plan_json(request_json: &str) -> Option<String> {
|
|||
.iter()
|
||||
.filter(|item| {
|
||||
let type_ok = content_type.is_empty()
|
||||
|| content_type == "anime"
|
||||
|| item
|
||||
.get("type")
|
||||
.and_then(Value::as_str)
|
||||
|
|
|
|||
Loading…
Reference in a new issue