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",