Applied review comments

pull/12798/head
JPVenson 2 weeks ago
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…
Cancel
Save