enum method working

This commit is contained in:
Hartmut Seichter 2024-05-17 21:04:50 +02:00
parent 0efcea4879
commit 833f0bdf4c
5 changed files with 22 additions and 37 deletions

View file

@ -33,6 +33,6 @@ debug:
# | pandoc ${target_flags} -V lang:de -o ${target_de}
debug-query:
python ${coursebuilder} -s schema.yaml -m mod.cg.yaml mod.interactsys.yaml -q "kind == compulsory"
python ${coursebuilder} -s schema.yaml -m mod.cg.yaml mod.interactsys.yaml -q "item['field'] == 'kind' and item['value'] == 'elective'"
.PHONY: clean

View file

@ -181,7 +181,8 @@ workload:
# credits/ECTS
#
credits:
type: num
type: num
unit: ECTS
label: {
en: "credits and weight of mark",
de: "Kreditpunkte und Gewichtung der Note in der Gesamtnote"