Fix: liste semestres avec code

This commit is contained in:
Emmanuel Viennet 2024-04-08 16:26:38 +02:00
parent e44a5ee55d
commit c17bc8b61b
3 changed files with 3 additions and 2 deletions

View File

@ -192,7 +192,7 @@ def _sem_table_gt(formsemestres: Query, showcodes=False, fmt="html") -> GenTable
"elt_sem_apo",
]
if showcodes:
columns_ids = ("formsemestre_id",) + columns_ids
columns_ids.insert(0, "formsemestre_id") # prepend
html_class = "stripe cell-border compact hover order-column table_leftalign semlist"
if current_user.has_permission(Permission.EditApogee):

View File

@ -1,7 +1,7 @@
# -*- mode: python -*-
# -*- coding: utf-8 -*-
SCOVERSION = "9.6.960"
SCOVERSION = "9.6.961"
SCONAME = "ScoDoc"

View File

@ -12,6 +12,7 @@ from app.auth.models import User, Role
from app.auth.models import get_super_admin
from app.scodoc import notesdb as ndb
import app.scodoc.sco_utils as scu
from app.views import ScoData
RESOURCES_DIR = "/opt/scodoc/tests/ressources"