Commit 31b7828e authored by Benjamin Bellamy's avatar Benjamin Bellamy 💬 Committed by Yassine Doghri
Browse files

fix: correction for servers with low int precision

parent d7b6794f
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -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')