mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 12:30:49 +08:00
revert exam index seedbouns
This commit is contained in:
@@ -84,7 +84,10 @@ class TorrentRepository extends BaseRepository
|
||||
$query->orderBy($sortField, $sortType);
|
||||
|
||||
$with = ['user'];
|
||||
$torrents = $query->with($with)->paginate();
|
||||
$torrents = $query->with($with)
|
||||
->orderBy('pos_state', 'desc')
|
||||
->orderBy('id', 'desc')
|
||||
->paginate();
|
||||
return $torrents;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user