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 @@ -348,6 +348,9 @@ class TorrentService
->findOneBy(
[
'torrentId' => $torrentId
],
[
'id' => 'DESC'
]
);
}
@ -358,7 +361,10 @@ class TorrentService @@ -358,7 +361,10 @@ class TorrentService
->getRepository(TorrentLocales::class)
->findBy(
[
'torrentId' => $torrentId
'torrentId' => $torrentId,
],
[
'id' => 'DESC'
]
);
}

Loading…
Cancel
Save