Skip to content

Commit

Permalink
Merge pull request #3976 from mikhailprivalov/research-picker-all-fix
Browse files Browse the repository at this point in the history
Выбор услуг - fix
  • Loading branch information
urchinpro authored Jun 23, 2024
2 parents 2c68ffc + ec886fe commit 08af558
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion api/researches/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,8 @@ def get_researches(request, last_used=False):
for t in tpls:
has_templates[t['pk']] = True
deps['-109999' if last_used else r.reversed_type].append(research_data)
deps['all'].append(research_data)
if r.podrazdeleniye_id and r.podrazdeleniye.p_type in [2, 3]:
deps['all'].append(research_data)

for dk in deps:
if last_used:
Expand Down

0 comments on commit 08af558

Please sign in to comment.