mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 03:26:07 +02:00
paging progress
This commit is contained in:
parent
4e76319f16
commit
dbf9ac1233
2 changed files with 3 additions and 3 deletions
|
@ -198,6 +198,8 @@ namespace MediaBrowser.Api.UserLibrary
|
||||||
|
|
||||||
items = items.AsParallel();
|
items = items.AsParallel();
|
||||||
|
|
||||||
|
items = ApplyAdditionalFilters(request, items);
|
||||||
|
|
||||||
// Apply filters
|
// Apply filters
|
||||||
// Run them starting with the ones that are likely to reduce the list the most
|
// Run them starting with the ones that are likely to reduce the list the most
|
||||||
foreach (var filter in GetFilters(request).OrderByDescending(f => (int)f))
|
foreach (var filter in GetFilters(request).OrderByDescending(f => (int)f))
|
||||||
|
@ -205,8 +207,6 @@ namespace MediaBrowser.Api.UserLibrary
|
||||||
items = ApplyFilter(items, filter, user);
|
items = ApplyFilter(items, filter, user);
|
||||||
}
|
}
|
||||||
|
|
||||||
items = ApplyAdditionalFilters(request, items);
|
|
||||||
|
|
||||||
items = items.AsEnumerable();
|
items = items.AsEnumerable();
|
||||||
|
|
||||||
items = ApplySearchTerm(request, items);
|
items = ApplySearchTerm(request, items);
|
||||||
|
|
|
@ -288,7 +288,7 @@ namespace MediaBrowser.Server.Implementations.Updates
|
||||||
|
|
||||||
return latestPluginInfo != null && latestPluginInfo.version > p.Version ? latestPluginInfo : null;
|
return latestPluginInfo != null && latestPluginInfo.version > p.Version ? latestPluginInfo : null;
|
||||||
|
|
||||||
}).Where(p => !CompletedInstallations.Any(i => i.Name.Equals(p.name, StringComparison.OrdinalIgnoreCase)))
|
}).Where(p => !CompletedInstallations.Any(i => string.Equals(i.Name, p.name, StringComparison.OrdinalIgnoreCase)))
|
||||||
.Where(p => p != null && !string.IsNullOrWhiteSpace(p.sourceUrl));
|
.Where(p => p != null && !string.IsNullOrWhiteSpace(p.sourceUrl));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue