mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2026-03-31 17:15:38 +00:00
group download totals by distinct userId
This commit is contained in:
parent
4cc5443669
commit
3b5d51d478
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue