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