mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-05-24 02:02:29 -04:00
Applied review comments
This commit is contained in:
parent
56a4aa180b
commit
cd75df6521
@ -1216,13 +1216,7 @@ public sealed class BaseItemRepository
|
||||
|
||||
if (hasSearch)
|
||||
{
|
||||
List<(ItemSortBy, SortOrder)> prepend = new List<(ItemSortBy, SortOrder)>(4);
|
||||
if (hasSearch)
|
||||
{
|
||||
prepend.Add((ItemSortBy.SortName, SortOrder.Ascending));
|
||||
}
|
||||
|
||||
orderBy = filter.OrderBy = [.. prepend, .. orderBy];
|
||||
orderBy = filter.OrderBy = [(ItemSortBy.SortName, SortOrder.Ascending), .. orderBy];
|
||||
}
|
||||
else if (orderBy.Count == 0)
|
||||
{
|
||||
|
@ -62,7 +62,7 @@ public sealed class LibraryStructureControllerTests : IClassFixture<JellyfinAppl
|
||||
}
|
||||
|
||||
[Fact]
|
||||
[Priority(-2)]
|
||||
[Priority(0)]
|
||||
public async Task UpdateLibraryOptions_Valid_Success()
|
||||
{
|
||||
var client = _factory.CreateClient();
|
||||
|
Loading…
x
Reference in New Issue
Block a user