mirror of
https://github.com/rgrgogu/new_starr.git
synced 2026-09-27 00:12:54 +08:00
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user