mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 03:57:22 +08:00
revert exam index seedbouns
This commit is contained in:
@@ -605,7 +605,6 @@ class ExamRepository extends BaseRepository
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated old version used
|
||||
* @param ExamUser $examUser
|
||||
* @param false $allSum
|
||||
* @return array|null
|
||||
|
||||
@@ -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