Skip to content

Commit

Permalink
now it is fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
ramibch committed Dec 29, 2023
1 parent 79d0436 commit 8e2dacd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion core/models/profiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,9 @@ def fetch_cvs(self):

profile_cvs = self.cv_set.all()
template_cvs = Cv.objects.filter(
profile__category="template", profile__language_code=self.language_code
profile__category="template",
profile__language_code=self.language_code,
tex__active=True,
).exclude(tex__in=[cv.tex for cv in profile_cvs])
return chain(profile_cvs, template_cvs)

Expand Down

0 comments on commit 8e2dacd

Please sign in to comment.