Browse Source

fix last editions sort ordering

main
ghost 1 year ago
parent
commit
cf204d09d0
  1. 8
      src/Service/TorrentService.php

8
src/Service/TorrentService.php

@ -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…
Cancel
Save