Update ui/src/components/trainingReport/trainingReportForm.vue #36

Merged
Ajdj100 merged 10 commits from training-report-cbox-reset into main 2025-11-28 16:00:27 -06:00
Showing only changes of commit c935a9950c - Show all commits

View File

@@ -2,7 +2,7 @@ import pool from "../db"
import { Course, CourseAttendee, CourseAttendeeRole, CourseEventDetails, CourseEventSummary, RawAttendeeRow } from "@app/shared/types/course"
import { toDateTime } from "@app/shared/utils/time";
export async function getAllCourses(): Promise<Course[]> {
const sql = "SELECT * FROM courses WHERE deleted = false;"
const sql = "SELECT * FROM courses WHERE deleted = false ORDER BY name ASC;"
const res: Course[] = await pool.query(sql);