mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-31 12:14:46 -04:00
Fix movies sort by start/end air date on items routes
This commit is contained in:
parent
fc7926c2cc
commit
c14c0a6af5
@ -19,6 +19,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using EntityFrameworkCore.Projectables;
|
using EntityFrameworkCore.Projectables;
|
||||||
using Kyoo.Abstractions.Controllers;
|
using Kyoo.Abstractions.Controllers;
|
||||||
@ -118,6 +119,14 @@ namespace Kyoo.Abstractions.Models
|
|||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public Image? Logo { get; set; }
|
public Image? Logo { get; set; }
|
||||||
|
|
||||||
|
[SerializeIgnore]
|
||||||
|
[Column("air_date")]
|
||||||
|
public DateTime? StartAir => AirDate;
|
||||||
|
|
||||||
|
[SerializeIgnore]
|
||||||
|
[Column("air_date")]
|
||||||
|
public DateTime? EndAir => AirDate;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// A video of a few minutes that tease the content.
|
/// A video of a few minutes that tease the content.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user