mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2025-01-10 23:17:53 +00:00
fix last editions sort ordering
This commit is contained in:
parent
87f6661423
commit
cf204d09d0
@ -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…
Reference in New Issue
Block a user