details:
http://www.bx.psu.edu/hg/galaxy/rev/dacc94994979
changeset: 2484:dacc94994979
user: James Taylor <james(a)jamestaylor.org>
date: Wed Jul 15 12:18:43 2009 -0400
description:
Fix for deleted datasets in history pane
1 file(s) affected in this change:
lib/galaxy/web/controllers/root.py
diffs (12 lines):
diff -r 5707f033e31a -r dacc94994979 lib/galaxy/web/controllers/root.py
--- a/lib/galaxy/web/controllers/root.py Wed Jul 15 12:00:02 2009 -0400
+++ b/lib/galaxy/web/controllers/root.py Wed Jul 15 12:18:43 2009 -0400
@@ -68,7 +68,7 @@
.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(),