Skip to content

Commit

Permalink
wrong fix...
Browse files Browse the repository at this point in the history
  • Loading branch information
ramiboutas committed Dec 29, 2023
1 parent 572386f commit 79d0436
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions core/models/profiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -503,9 +503,7 @@ def fetch_cvs(self):

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

Expand Down

0 comments on commit 79d0436

Please sign in to comment.