jellyfin/MediaBrowser.Controller/Entities
Claus Vium b2ffad9ce9 Set Parent to current query Item if ParentId is empty (#680)
**Changes**
Fixed a faulty change in logic that occurred during the Christmas GPL nightmare.

I stepped through Emby 3.5.2 and stumbled over a difference in the query between Jellyfin and Emby, where in Emby, query.ParentId was set to the item itself. So I did a little digging in the old GPLv2 source and found this https://github.com/MediaBrowser/Emby/blob/3.4.1.8/MediaBrowser.Controller/Entities/Folder.cs#L720

**Issues**
Fixes #673
2019-01-24 18:48:37 +01:00
..
Audio Change MusicAlbum.Tracks to return Audio items 2019-01-22 12:19:50 +00:00
Movies ReSharper Reformat: Properties to expression bodied form. 2019-01-13 21:31:14 +01:00
TV ReSharper conform to 'var' settings 2019-01-13 21:37:13 +01:00
AggregateFolder.cs ReSharper conform to 'var' settings 2019-01-13 21:37:13 +01:00
AudioBook.cs ReSharper Reformat: Properties to expression bodied form. 2019-01-13 21:31:14 +01:00
BaseItem.cs Minor improvements to library scan code 2019-01-20 19:40:37 +01:00
BaseItemExtensions.cs Find+Sed BOM removal *.cs: Jellyfin.Server-MediaBrowser.Controller 2019-01-13 21:01:16 +01:00
BasePluginFolder.cs Reformat JustAMan review pt2 changes 2019-01-17 20:24:39 +01:00
Book.cs ReSharper Reformat: Properties to expression bodied form. 2019-01-13 21:31:14 +01:00
CollectionFolder.cs ReSharper format: conform inline 'out' parameters. 2019-01-13 21:46:33 +01:00
DayOfWeekHelper.cs Find+Sed BOM removal *.cs: Jellyfin.Server-MediaBrowser.Controller 2019-01-13 21:01:16 +01:00
Extensions.cs Find+Sed BOM removal *.cs: Jellyfin.Server-MediaBrowser.Controller 2019-01-13 21:01:16 +01:00
Folder.cs Set Parent to current query Item if ParentId is empty (#680) 2019-01-24 18:48:37 +01:00
Game.cs ReSharper Reformat: Properties to expression bodied form. 2019-01-13 21:31:14 +01:00
GameGenre.cs ReSharper Reformat: Properties to expression bodied form. 2019-01-13 21:31:14 +01:00
GameSystem.cs ReSharper Reformat: Properties to expression bodied form. 2019-01-13 21:31:14 +01:00
Genre.cs ReSharper Reformat: Properties to expression bodied form. 2019-01-13 21:31:14 +01:00
ICollectionFolder.cs Find+Sed BOM removal *.cs: Jellyfin.Server-MediaBrowser.Controller 2019-01-13 21:01:16 +01:00
IHasAspectRatio.cs Find+Sed BOM removal *.cs: Jellyfin.Server-MediaBrowser.Controller 2019-01-13 21:01:16 +01:00
IHasDisplayOrder.cs Reformat JustAMan review pt2 changes 2019-01-17 20:24:39 +01:00
IHasMediaSources.cs Find+Sed BOM removal *.cs: Jellyfin.Server-MediaBrowser.Controller 2019-01-13 21:01:16 +01:00
IHasProgramAttributes.cs Find+Sed BOM removal *.cs: Jellyfin.Server-MediaBrowser.Controller 2019-01-13 21:01:16 +01:00
IHasScreenshots.cs Reformat JustAMan review pt2 changes 2019-01-17 20:24:39 +01:00
IHasSeries.cs Reformat JustAMan review pt2 changes 2019-01-17 20:24:39 +01:00
IHasSpecialFeatures.cs Find+Sed BOM removal *.cs: Jellyfin.Server-MediaBrowser.Controller 2019-01-13 21:01:16 +01:00
IHasStartDate.cs Find+Sed BOM removal *.cs: Jellyfin.Server-MediaBrowser.Controller 2019-01-13 21:01:16 +01:00
IHasTrailers.cs Find+Sed BOM removal *.cs: Jellyfin.Server-MediaBrowser.Controller 2019-01-13 21:01:16 +01:00
IItemByName.cs Find+Sed BOM removal *.cs: Jellyfin.Server-MediaBrowser.Controller 2019-01-13 21:01:16 +01:00
IMetadataContainer.cs Find+Sed BOM removal *.cs: Jellyfin.Server-MediaBrowser.Controller 2019-01-13 21:01:16 +01:00
InternalItemsQuery.cs Find+Sed BOM removal *.cs: Jellyfin.Server-MediaBrowser.Controller 2019-01-13 21:01:16 +01:00
InternalPeopleQuery.cs Find+Sed BOM removal *.cs: Jellyfin.Server-MediaBrowser.Controller 2019-01-13 21:01:16 +01:00
ISupportsBoxSetGrouping.cs Reformat JustAMan review pt2 changes 2019-01-17 20:24:39 +01:00
ISupportsPlaceHolders.cs Reformat JustAMan review pt2 changes 2019-01-17 20:24:39 +01:00
ItemImageInfo.cs Find+Sed BOM removal *.cs: Jellyfin.Server-MediaBrowser.Controller 2019-01-13 21:01:16 +01:00
LinkedChild.cs Find+Sed BOM removal *.cs: Jellyfin.Server-MediaBrowser.Controller 2019-01-13 21:01:16 +01:00
MusicVideo.cs ReSharper Reformat: Properties to expression bodied form. 2019-01-13 21:31:14 +01:00
PeopleHelper.cs Visual Studio Reformat: MediaBrowser.Controller 2019-01-13 20:25:32 +01:00
Person.cs ReSharper conform to 'var' settings 2019-01-13 21:37:13 +01:00
Photo.cs Merge branch 'dev' into reformat 2019-01-18 17:04:01 +01:00
PhotoAlbum.cs ReSharper Reformat: Properties to expression bodied form. 2019-01-13 21:31:14 +01:00
Share.cs Find+Sed BOM removal *.cs: Jellyfin.Server-MediaBrowser.Controller 2019-01-13 21:01:16 +01:00
SourceType.cs Reformat JustAMan review pt2 changes 2019-01-17 20:24:39 +01:00
Studio.cs ReSharper Reformat: Properties to expression bodied form. 2019-01-13 21:31:14 +01:00
TagExtensions.cs Find+Sed BOM removal *.cs: Jellyfin.Server-MediaBrowser.Controller 2019-01-13 21:01:16 +01:00
Trailer.cs ReSharper Reformat: Properties to expression bodied form. 2019-01-13 21:31:14 +01:00
User.cs ReSharper conform to 'var' settings 2019-01-13 21:37:13 +01:00
UserItemData.cs ReSharper conform to 'var' settings 2019-01-13 21:37:13 +01:00
UserRootFolder.cs ReSharper Reformat: Properties to expression bodied form. 2019-01-13 21:31:14 +01:00
UserView.cs ReSharper Reformat: Properties to expression bodied form. 2019-01-13 21:31:14 +01:00
UserViewBuilder.cs Visual Studio Reformat: MediaBrowser.Controller 2019-01-13 20:25:32 +01:00
Video.cs ReSharper Reformat: Properties to expression bodied form. 2019-01-13 21:31:14 +01:00
Year.cs Reformat JustAMan review pt2 changes 2019-01-17 20:24:39 +01:00