Skip to content

Commit

Permalink
получить случай не скрытый
Browse files Browse the repository at this point in the history
  • Loading branch information
urchinpro committed Oct 1, 2023
1 parent 5014c6a commit aa3cd89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion directions/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -1543,7 +1543,7 @@ def gen_napravleniya_by_issledovaniya(
external_order=external_order,
price_name_id=price_name,
)
research_case = directory.Researches.objects.filter(is_case=True).first()
research_case = directory.Researches.objects.filter(is_case=True, hide=False).first()
issledovaniye_case = Issledovaniya(
napravleniye=napravleniye_case,
research=research_case,
Expand Down

0 comments on commit aa3cd89

Please sign in to comment.