Vijayakrishnan %!s(int64=4) %!d(string=hai) anos
pai
achega
867f184faa
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      app/Http/Controllers/PatientController.php

+ 2 - 0
app/Http/Controllers/PatientController.php

@@ -24,6 +24,7 @@ class PatientController extends Controller
         $dxInfoLines = ClientInfoLine::where('client_id', $patient->id)
             ->where('category', 'dx')
             ->where('is_removed', false)
+            ->orderBy('content_text', 'asc')
             ->get();
         return view('app.patient.dashboard', compact('patient', 'facilities', 'devices', 'dxInfoLines'));
     }
@@ -64,6 +65,7 @@ class PatientController extends Controller
         $dxInfoLines = ClientInfoLine::where('client_id', $patient->id)
             ->where('category', 'dx')
             ->where('is_removed', false)
+            ->orderBy('content_text', 'asc')
             ->get();
         return view('app.patient.dx-and-focus-areas', compact('patient', 'dxInfoLines'));
     }