Skip to content

Commit

Permalink
Merge pull request #1141 from NNTmux/analysis-GDNpMA
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI

[ci skip] [skip ci]
  • Loading branch information
DariusIII authored Nov 29, 2020
2 parents 938bb97 + 87d6a80 commit 2fe54fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Controllers/SeriesController.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public function index($id = '', Request $request)
$posted[$rlk] = $rlv->postdate;
}
Arr::sort($series, [[$episode, false], [$posted, false], [$rel, false]]);
array_multisort($series, SORT_DESC,'', $episode, SORT_DESC, $posted, SORT_DESC, $rel->toArray());
array_multisort($series, SORT_DESC, '', $episode, SORT_DESC, $posted, SORT_DESC, $rel->toArray());

$series = [];
foreach ($rel as $r) {
Expand Down

0 comments on commit 2fe54fb

Please sign in to comment.