fix: correction for servers with low int precision

This commit is contained in:
Benjamin Bellamy 2020-09-12 12:59:16 +02:00 committed by Yassine Doghri
parent d7b6794f68
commit 31b7828e77
1 changed files with 2 additions and 3 deletions

View File

@ -279,9 +279,8 @@ class EpisodeModel extends Model
1000 +
$episode->number
: (empty($episode->season_number)
? 0
: $episode->season_number) *
100000000000000 +
? ''
: $episode->season_number) .
date('YmdHis', strtotime($episode->published_at));
$previousData = $this->orderBy('(' . $sortNumberField . ') DESC')