mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 12:30:49 +08:00
fix examRep listValid()
This commit is contained in:
@@ -216,7 +216,7 @@ class ExamRepository extends BaseRepository
|
||||
if (!is_null($isDiscovered)) {
|
||||
$query->where('is_discovered', $isDiscovered);
|
||||
}
|
||||
return $query->orderBy('priority', 'desc')->orderBy('id', 'asc');
|
||||
return $query->orderBy('priority', 'desc')->orderBy('id', 'asc')->get();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user