|
@@ -33,7 +33,9 @@ class Issue extends BaseController
|
|
|
]);
|
|
]);
|
|
|
$page = request()->input('page', 1);
|
|
$page = request()->input('page', 1);
|
|
|
$limit = request()->input('limit', 10);
|
|
$limit = request()->input('limit', 10);
|
|
|
- $list = Prediction::forPage($page, $limit)->get();
|
|
|
|
|
|
|
+ $list = Prediction::forPage($page, $limit)
|
|
|
|
|
+ ->orderByDesc('issue_no')
|
|
|
|
|
+ ->get();
|
|
|
} catch (ValidationException $e) {
|
|
} catch (ValidationException $e) {
|
|
|
return $this->error($e->validator->errors()->first());
|
|
return $this->error($e->validator->errors()->first());
|
|
|
} catch (Exception $e) {
|
|
} catch (Exception $e) {
|