Skip to content
Snippets Groups Projects
Commit 31b7828e authored by Benjamin Bellamy's avatar Benjamin Bellamy :speech_balloon: Committed by Yassine Doghri
Browse files

fix: correction for servers with low int precision

parent d7b6794f
No related branches found
No related tags found
No related merge requests found
...@@ -279,9 +279,8 @@ class EpisodeModel extends Model ...@@ -279,9 +279,8 @@ class EpisodeModel extends Model
1000 + 1000 +
$episode->number $episode->number
: (empty($episode->season_number) : (empty($episode->season_number)
? 0 ? ''
: $episode->season_number) * : $episode->season_number) .
100000000000000 +
date('YmdHis', strtotime($episode->published_at)); date('YmdHis', strtotime($episode->published_at));
$previousData = $this->orderBy('(' . $sortNumberField . ') DESC') $previousData = $this->orderBy('(' . $sortNumberField . ') DESC')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment