[ZoneTelechargementBridge] Sort episodes from newest to oldest (#835)
References #834
This commit is contained in:
parent
db24f55c86
commit
c044694b21
1 changed files with 2 additions and 1 deletions
|
@ -51,7 +51,8 @@ class ZoneTelechargementBridge extends BridgeAbstract {
|
|||
// Add every link available in the episode table separated by a <br/> tag
|
||||
$item['content'] = implode('<br/>', $episode);
|
||||
$item['title'] = $this->showTitle . 'Episode ' . $epnum;
|
||||
$this->items[] = $item;
|
||||
// Insert the episode at the beginning of the item list, to show the newest episode first
|
||||
array_unshift($this->items, $item);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue