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