mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2026-03-31 17:15:38 +00:00
fix last editions sort ordering
This commit is contained in:
parent
87f6661423
commit
cf204d09d0
1 changed files with 7 additions and 1 deletions
|
|
@ -348,6 +348,9 @@ class TorrentService
|
||||||
->findOneBy(
|
->findOneBy(
|
||||||
[
|
[
|
||||||
'torrentId' => $torrentId
|
'torrentId' => $torrentId
|
||||||
|
],
|
||||||
|
[
|
||||||
|
'id' => 'DESC'
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
@ -358,7 +361,10 @@ class TorrentService
|
||||||
->getRepository(TorrentLocales::class)
|
->getRepository(TorrentLocales::class)
|
||||||
->findBy(
|
->findBy(
|
||||||
[
|
[
|
||||||
'torrentId' => $torrentId
|
'torrentId' => $torrentId,
|
||||||
|
],
|
||||||
|
[
|
||||||
|
'id' => 'DESC'
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue