details: http://www.bx.psu.edu/hg/galaxy/rev/60071136a638 changeset: 2407:60071136a638 user: James Taylor <james@jamestaylor.org> date: Wed May 06 19:21:00 2009 -0400 description: Fix problem where delted workflows were still showing up when shared with another user (missing join before filter) 1 file(s) affected in this change: lib/galaxy/web/controllers/workflow.py diffs (15 lines): diff -r 23786eef94cd -r 60071136a638 lib/galaxy/web/controllers/workflow.py --- a/lib/galaxy/web/controllers/workflow.py Wed May 06 14:17:13 2009 -0400 +++ b/lib/galaxy/web/controllers/workflow.py Wed May 06 19:21:00 2009 -0400 @@ -35,8 +35,9 @@ shared_by_others = trans.sa_session \ .query( model.StoredWorkflowUserShareAssociation ) \ .filter_by( user=user ) \ - .filter( model.StoredWorkflow.c.deleted == False ) \ - .order_by( desc( model.StoredWorkflow.c.update_time ) ) \ + .join( 'stored_workflow' ) \ + .filter( model.StoredWorkflow.deleted == False ) \ + .order_by( desc( model.StoredWorkflow.update_time ) ) \ .all() return trans.fill_template( "workflow/list.mako", workflows = workflows,