fix last editions sort ordering

This commit is contained in:
ghost 2023-10-10 22:58:30 +03:00
parent 87f6661423
commit cf204d09d0

View File

@ -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'
] ]
); );
} }