소스 검색

UI updates

Vijayakrishnan 4 년 전
부모
커밋
867f184faa
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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'));
     }