diff options
| author | LukePulverenti <luke.pulverenti@gmail.com> | 2013-03-12 00:26:23 -0400 |
|---|---|---|
| committer | LukePulverenti <luke.pulverenti@gmail.com> | 2013-03-12 00:26:23 -0400 |
| commit | 3f443246238eb76971a27c79886ea756b451d864 (patch) | |
| tree | 6e2760c40d26b7eb0dfd2a51ff9f25b360eb76d4 /MediaBrowser.Api/UserLibrary/ItemsService.cs | |
| parent | 7f2716bd0d6f4197e8e4c03a98d02a52f1273bc8 (diff) | |
Added LibraryManager.Search
Diffstat (limited to 'MediaBrowser.Api/UserLibrary/ItemsService.cs')
| -rw-r--r-- | MediaBrowser.Api/UserLibrary/ItemsService.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Api/UserLibrary/ItemsService.cs b/MediaBrowser.Api/UserLibrary/ItemsService.cs index ff062c183..13996be19 100644 --- a/MediaBrowser.Api/UserLibrary/ItemsService.cs +++ b/MediaBrowser.Api/UserLibrary/ItemsService.cs @@ -387,7 +387,7 @@ namespace MediaBrowser.Api.UserLibrary if (!string.IsNullOrEmpty(term)) { - items = items.Where(i => i.Name.StartsWith(term, StringComparison.OrdinalIgnoreCase)); + items = _libraryManager.Search(items, request.SearchTerm); } return items; |
