details: http://www.bx.psu.edu/hg/galaxy/rev/a559bdff7fdc changeset: 2913:a559bdff7fdc user: James Taylor <james@jamestaylor.org> date: Fri Oct 23 13:54:15 2009 -0400 description: Fix query style in tracks controller 1 file(s) affected in this change: lib/galaxy/web/controllers/tracks.py diffs (15 lines): diff -r 6dcf496ad316 -r a559bdff7fdc lib/galaxy/web/controllers/tracks.py --- a/lib/galaxy/web/controllers/tracks.py Fri Oct 23 13:31:11 2009 -0400 +++ b/lib/galaxy/web/controllers/tracks.py Fri Oct 23 13:54:15 2009 -0400 @@ -122,9 +122,10 @@ vis = session.query( model.Visualization ).get( decoded_id ) tracks = [] dbkey = "" + hda_query = session.query( model.HistoryDatasetAssociation ) for t in vis.latest_revision.config['tracks']: dataset_id = t['dataset_id'] - dataset = trans.app.model.HistoryDatasetAssociation.get( dataset_id ) + dataset = hda_query.get( dataset_id ) tracks.append( { "type": dataset.datatype.get_track_type(), "name": dataset.name,