fix some issues

Signed-off-by: Kenneth Obsequio <k80308392@gmail.com>
This commit is contained in:
2026-07-19 14:59:33 +08:00
parent 29dc0bbcce
commit 2c70f4714e
3 changed files with 50 additions and 7 deletions
+2 -1
View File
@@ -73,8 +73,9 @@ const UNIT_LIST_COMPUTED = [
},
{
key: "course_count",
label: "Used in courses",
label: "Affiliated",
type: "number",
order: 2, // 1: Title, 2: Affiliated, 3: Subscription, 4: Duration — see units.mdl.js
literal: `(
SELECT CAST(COUNT(*) AS INTEGER)
FROM course_units cu