From ddbd92247df0a18efd241024df9df4d6fc15c601 Mon Sep 17 00:00:00 2001 From: Francesco Filicetti Date: Fri, 13 Dec 2024 09:15:16 +0100 Subject: [PATCH] fix: bug --- cds/api/v1/services.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cds/api/v1/services.py b/cds/api/v1/services.py index efe6ddb3..d441e879 100644 --- a/cds/api/v1/services.py +++ b/cds/api/v1/services.py @@ -351,7 +351,7 @@ def cds(language, cdsid_param, only_active=True): ) res[0]["CdsPeriods"] = DidatticaCdsPeriodi.objects.filter( - cds_cod=res[0]["cds_cod"], settings.CURRENT_YEAR + cds_cod=res[0]["cds_cod"], aa_id=settings.CURRENT_YEAR ).values( "ciclo_des", "tipo_ciclo_des",