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
......@@ -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')
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment