mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-18 06:53:07 +03:00
#715 - Support creating/editing collections (boxsets) in web client
This commit is contained in:
@@ -37,6 +37,12 @@ namespace MediaBrowser.Server.Implementations.Library
|
||||
|
||||
var results = await GetSearchHints(inputItems, query).ConfigureAwait(false);
|
||||
|
||||
// Include item types
|
||||
if (query.IncludeItemTypes.Length > 0)
|
||||
{
|
||||
results = results.Where(f => query.IncludeItemTypes.Contains(f.Item.GetType().Name, StringComparer.OrdinalIgnoreCase));
|
||||
}
|
||||
|
||||
var searchResultArray = results.ToArray();
|
||||
results = searchResultArray;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user