mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-05-05 10:11:25 -05:00
fix: status on torrent peers page
This commit is contained in:
@@ -30,7 +30,7 @@ class TorrentPeerController extends Controller
|
||||
'torrent' => $torrent,
|
||||
'peers' => Peer::query()
|
||||
->with('user')
|
||||
->select(['torrent_id', 'user_id', 'uploaded', 'downloaded', 'left', 'port', 'agent', 'created_at', 'updated_at', 'seeder'])
|
||||
->select(['torrent_id', 'user_id', 'uploaded', 'downloaded', 'left', 'port', 'agent', 'created_at', 'updated_at', 'seeder', 'active'])
|
||||
->selectRaw('INET6_NTOA(ip) as ip')
|
||||
->where('torrent_id', '=', $id)
|
||||
->where('active', '=', 1)
|
||||
|
||||
Reference in New Issue
Block a user