Skip to content

Commit

Permalink
[AIRFLOW-127] Makes filter_by_owner aware of multi-owner DAG
Browse files Browse the repository at this point in the history
  • Loading branch information
Hervé Werner committed May 18, 2016
1 parent 4d85783 commit 843a22f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion airflow/www/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -1733,7 +1733,7 @@ def index(self):
session.query(DM)
.filter(
~DM.is_subdag, DM.is_active,
DM.owners == current_user.username)
DM.owners.like('%' + current_user.username + '%'))
.all()
)
else:
Expand Down

0 comments on commit 843a22f

Please sign in to comment.