Commit f1df48e3 authored by Mathieu Giraud's avatar Mathieu Giraud
Browse files

controllers/sample_set.py: bikeshed, simplify display of non-classified configs

parent 16323d62
Pipeline #135041 passed with stages
in 13 minutes and 53 seconds
......@@ -709,8 +709,8 @@ def getConfigsByClassification():
classification["%02d_%s" % (i, class_elt)]["info"] = class_elt.info
classification["%02d_%s" % (i, class_elt)]["configs"] = configs
i += 1
classification["%02d_noclass" % i]["name"] = "No classification"
classification["%02d_noclass" % i]["info"] = "Configs without classification"
classification["%02d_noclass" % i]["name"] = ""
classification["%02d_noclass" % i]["info"] = ""
classification["%02d_noclass" % i]["configs"] = db( (db.config.classification == None) & (auth.vidjil_accessible_query(PermissionEnum.read.value, db.config) | auth.vidjil_accessible_query(PermissionEnum.admin.value, db.config) ) ).select(orderby=db.config.id)
return classification
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment