mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Fix history_export include_hidden=False handling
Fixes https://github.com/galaxyproject/galaxy/issues/13386
This commit is contained in:
@@ -1142,7 +1142,7 @@ class DirectoryModelExportStore(ModelExportStore):
|
||||
datasets = query.all()
|
||||
for dataset in datasets:
|
||||
dataset.annotation = get_item_annotation_str(sa_session, history.user, dataset)
|
||||
add_dataset = (not dataset.visible or not include_hidden) and (not dataset.deleted or include_deleted)
|
||||
add_dataset = (dataset.visible or include_hidden) and (not dataset.deleted or include_deleted)
|
||||
if dataset.id in self.collection_datasets:
|
||||
add_dataset = True
|
||||
|
||||
|
||||
Reference in New Issue
Block a user