diff --git a/app/Http/Controllers/Dashboard/StudentController.php b/app/Http/Controllers/Dashboard/StudentController.php index 99ec6aa..3118cc8 100644 --- a/app/Http/Controllers/Dashboard/StudentController.php +++ b/app/Http/Controllers/Dashboard/StudentController.php @@ -26,6 +26,7 @@ public function index(Request $request): Response ->orWhereLikeUnaccentInsensitive("surname", $searchText) ->orWhere("index_number", "LIKE", "%$searchText%"), ) + ->orderBy("surname") ->paginate() ->withQueryString(); diff --git a/resources/js/Pages/Dashboard/CourseSemester/Grade/Import.vue b/resources/js/Pages/Dashboard/CourseSemester/Grade/Import.vue index 33c88da..63812d1 100644 --- a/resources/js/Pages/Dashboard/CourseSemester/Grade/Import.vue +++ b/resources/js/Pages/Dashboard/CourseSemester/Grade/Import.vue @@ -11,6 +11,7 @@ import TableWrapper from '@/Shared/Components/Table/Public/TableWrapper.vue' import TableRow from '@/Shared/Components/Table/Public/TableRow.vue' import TableCell from '@/Shared/Components/Table/Public/TableCell.vue' import GradeCell from '@/Shared/Components/GradeCell.vue' +import TableHeader from "@/Shared/Components/Table/TableHeader.vue"; const props = defineProps({ course: Object, @@ -72,6 +73,17 @@ function prepareStudentsList() { Lista ocen +