mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2025-09-12 14:22:55 +00:00
group download totals by distinct userId
This commit is contained in:
parent
4cc5443669
commit
3b5d51d478
@ -118,7 +118,7 @@ else
|
|||||||
],
|
],
|
||||||
'download' => (object)
|
'download' => (object)
|
||||||
[
|
[
|
||||||
'total' => $db->getMagnetDownloadsTotal($magnet->magnetId),
|
'total' => $db->getMagnetDownloadsTotalByUserId($magnet->magnetId),
|
||||||
'status' => $db->findMagnetDownloadsTotalByUserId($magnet->magnetId, $userId),
|
'status' => $db->findMagnetDownloadsTotalByUserId($magnet->magnetId, $userId),
|
||||||
],
|
],
|
||||||
'star' => (object)
|
'star' => (object)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user