1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/683e4bc2f85e/ Changeset: 683e4bc2f85e Branch: next-stable User: jmchilton Date: 2014-01-28 17:34:44 Summary: Yet another fix for 714f5b1 (history contents API)... Fix history contents API when setting visible and/or deleted. Affected #: 1 file diff -r 153caa28d992ef8897b149b25515b4c089a264eb -r 683e4bc2f85e0570ba0121858ed06b702943c9fd lib/galaxy/model/__init__.py --- a/lib/galaxy/model/__init__.py +++ b/lib/galaxy/model/__init__.py @@ -926,10 +926,10 @@ query = query.order_by( HistoryDatasetAssociation.table.c.hid.asc() ) deleted = galaxy.util.string_as_bool_or_none( kwds.get( 'deleted', None ) ) if deleted is not None: - query = query.filter( HistoryDatasetAssociation.deleted == bool( kwds['deleted'] ) ) + query = query.filter( HistoryDatasetAssociation.deleted == deleted ) visible = galaxy.util.string_as_bool_or_none( kwds.get( 'visible', None ) ) if visible is not None: - query = query.filter( HistoryDatasetAssociation.visible == bool( kwds['visible'] ) ) + query = query.filter( HistoryDatasetAssociation.visible == visible ) if 'ids' in kwds: ids = kwds['ids'] max_in_filter_length = kwds.get('max_in_filter_length', MAX_IN_FILTER_LENGTH) Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.