mirror of
https://github.com/sigmasternchen/MyTube
synced 2025-03-15 21:08:55 +00:00
order video links by created time desc
This commit is contained in:
parent
f93727dae6
commit
41c94e17e9
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ class VideoLinkService
|
||||||
{
|
{
|
||||||
return array_map(function ($videoLink) {
|
return array_map(function ($videoLink) {
|
||||||
return $this->evaluate($videoLink);
|
return $this->evaluate($videoLink);
|
||||||
}, $this->videoLinkRepository->findByCreator($user));
|
}, $this->videoLinkRepository->findBy(["creator" => $user], ["created" => "DESC"]));
|
||||||
}
|
}
|
||||||
|
|
||||||
public function add($videoLink): void
|
public function add($videoLink): void
|
||||||
|
|
Loading…
Reference in a new issue