From 384e72266688f554df104ad73176ce25653ecd2c Mon Sep 17 00:00:00 2001 From: James Taylor Date: Wed, 15 Jul 2009 12:18:43 -0400 Subject: [PATCH] Fix for deleted datasets in history pane --- lib/galaxy/web/controllers/root.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/galaxy/web/controllers/root.py b/lib/galaxy/web/controllers/root.py index 2cb6f4433a1..e04efdcedd7 100644 --- a/lib/galaxy/web/controllers/root.py +++ b/lib/galaxy/web/controllers/root.py @@ -68,7 +68,7 @@ class RootController( BaseController ): .join( "dataset" ).filter( model.Dataset.purged == False ) \ .options( eagerload_all( "dataset.actions" ) ) if not show_deleted: - query.filter_by( deleted=False ) + query = query.filter( model.HistoryDatasetAssociation.deleted == False ) return trans.stream_template_mako( "root/history.mako", history = history, datasets = query.all(),