mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-23 23:20:51 +01:00
[PR #1394] [MERGED] Check if an item is a child of an EnabledFolder #8569
Labels
No labels
area:database
awaiting-feedback
backend
blocked
breaking change: web api
bug
build
ci
confirmed
discussion needed
dotnet future
downstream
duplicate
EFjellyfin.db
enhancement
feature
future
github-actions
good first issue
hdr
help wanted
invalid
investigation
librarydb
live-tv
lyrics
media playback
music
needs testing
nuget
performance
platform
pull-request
question
regression
release critical
requires-web
roadmap
security
security
stale
support
syncplay
ui & ux
upstream
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: starred/jellyfin#8569
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jellyfin/jellyfin/pull/1394
Author: @joern-h
Created: 5/20/2019
Status: ✅ Merged
Merged: 6/26/2019
Merged by: @dkanada
Base:
release-10.3.z← Head:bugfix-issue1347📝 Commits (1)
1fd8164fix issue #1347 introduced in pr #930📊 Changes
2 files changed (+12 additions, -1 deletions)
View changed files
📝
CONTRIBUTORS.md(+1 -0)📝
MediaBrowser.Api/UserLibrary/ItemsService.cs(+11 -1)📄 Description
Changes
In GetQueryResult:
user.Policy.EnabledFolders.Any(i => new Guid(i) == item.Id)returns only true if the item is the media folder.
So now it checks if an item is a child of a EnabledFolder.
Fixes issue #1347
Introduced in #930
Feel free to criticise everything you want, i am open for improvements :)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.