mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-15 15:48:03 +00:00
Backport pull request #15413 from jellyfin/release-10.11.z
Fixed missing sort argument
Original-merge: 91c3b1617e
Merged-by: crobibero <cody@robibe.ro>
Backported-by: Bond_009 <bond.009@outlook.com>
This commit is contained in:
@@ -12,7 +12,7 @@ public class OrderMapperTests
|
||||
[Fact]
|
||||
public void ShouldReturnMappedOrderForSortingByPremierDate()
|
||||
{
|
||||
var orderFunc = OrderMapper.MapOrderByField(ItemSortBy.PremiereDate, new InternalItemsQuery()).Compile();
|
||||
var orderFunc = OrderMapper.MapOrderByField(ItemSortBy.PremiereDate, new InternalItemsQuery(), null!).Compile();
|
||||
|
||||
var expectedDate = new DateTime(1, 2, 3);
|
||||
var expectedProductionYearDate = new DateTime(4, 1, 1);
|
||||
|
||||
Reference in New Issue
Block a user