|
@@ -1665,7 +1665,7 @@ WHERE measurement.label NOT IN ('SBP', 'DBP')
|
|
|
default:
|
|
|
break;
|
|
|
}
|
|
|
- $patients = $query->orderBy('id', 'desc')->paginate(50);
|
|
|
+ $patients = $query->orderBy('created_at', 'desc')->paginate(50);
|
|
|
|
|
|
// patient acquisition chart (admin only)
|
|
|
$patientAcquisitionData = null;
|