Commit c213fcec authored by Imane Misrar's avatar Imane Misrar

fix(university.py/FilterService) : id_destination_open into is_destination_open

Relates to #148
parent 00a7fff8
Pipeline #60923 passed with stages
in 9 minutes and 13 seconds
......@@ -111,7 +111,7 @@ def update_denormalized_univ_field():
semesters_majors_minors[semester][major].append(minor)
# handling of corresponding_utc_partners
id_destination_open = (
is_destination_open = (
university.corresponding_utc_partners.filter(
is_destination_open=True
).count()
......@@ -119,7 +119,7 @@ def update_denormalized_univ_field():
)
university.denormalized_infos = dict(
id_destination_open=id_destination_open,
is_destination_open=is_destination_open,
semesters_majors_minors=semesters_majors_minors,
)
university.save()
......
......@@ -178,7 +178,7 @@ class FilterService {
if (selectOnlyOpenDestinations) {
possible = possible.filter(
univ => univ.denormalized_infos.id_destination_open === true
univ => univ.denormalized_infos.is_destination_open === true
);
}
......
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