Skip to content

Commit

Permalink
TRACK-212: Fixed filtering logic to remove 'deleted' and inactive act…
Browse files Browse the repository at this point in the history
…ions
  • Loading branch information
Ckoelewyn committed Nov 15, 2024
1 parent f24c354 commit da00429
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions epictrack-api/src/api/services/event.py
Original file line number Diff line number Diff line change
Expand Up @@ -1136,8 +1136,8 @@ def _process_actions(cls, event: Event, outcome_id: int = None) -> None:
db.session.query(ActionConfiguration)
.join(Action, Action.id == ActionConfiguration.action_id)
.filter(
ActionConfiguration.outcome_configuration_id == outcome_id and
ActionConfiguration.is_active is True and
ActionConfiguration.outcome_configuration_id == outcome_id,
ActionConfiguration.is_active is True,
ActionConfiguration.is_deleted is False
)
.order_by(ActionConfiguration.sort_order)
Expand Down

0 comments on commit da00429

Please sign in to comment.