Fixes #413
Fixes #423 where a library was showing up in a study workflow Alex said this used to work, but I don't see where I ever edited the code that needed a filter.
This commit is contained in:
parent
5692f7d377
commit
76f8f5984e
|
@ -464,6 +464,8 @@ class StudyService(object):
|
|||
workflow_models = db.session.query(WorkflowModel). \
|
||||
join(WorkflowSpecModel). \
|
||||
filter(WorkflowSpecModel.is_master_spec == False). \
|
||||
filter((WorkflowSpecModel.library == False) | \
|
||||
(WorkflowSpecModel.library == None)). \
|
||||
filter(WorkflowModel.study_id == study_id). \
|
||||
all()
|
||||
workflow_metas = []
|
||||
|
|
Loading…
Reference in New Issue