Skip to content

Commit

Permalink
copySessionData: Include scaled_answer
Browse files Browse the repository at this point in the history
  • Loading branch information
reinhardt committed Oct 1, 2024
1 parent defd624 commit 0f39250
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions docs/changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ Changelog
Ref: scrum-2517
[reinhardt]

- Psychosocial: Fix issue when rebuilding session after change in tool
Ref: scrum-2695
[reinhardt]


16.2.1 (2024-07-31)
-------------------
Expand Down
3 changes: 2 additions & 1 deletion src/euphorie/client/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -1030,7 +1030,8 @@ def copySessionData(self, other):
probability = old_risk.probability,
priority = old_risk.priority,
existing_measures = old_risk.existing_measures,
comment = old_risk.comment
comment = old_risk.comment,
scaled_answer = old_risk.scaled_answer
FROM risk AS old_risk JOIN tree AS old_tree ON old_tree.id=old_risk.id, tree
WHERE tree.id=risk.id AND
%(skip_preset_to_no_clause)s
Expand Down

0 comments on commit 0f39250

Please sign in to comment.