Unverified Commit badbd3ae authored by mvdbeek's avatar mvdbeek
Browse files

Fix premature flush in hda_manager.copy

parent a56f6426
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -202,7 +202,7 @@ class HDAManager(
        if not isinstance(item, model.HistoryDatasetAssociation):
            raise TypeError()
        hda = item
        copy = hda.copy(parent_id=kwargs.get("parent_id"), copy_hid=False, copy_tags=hda.tags, flush=flush)
        copy = hda.copy(parent_id=kwargs.get("parent_id"), copy_hid=False, copy_tags=hda.tags, flush=False)
        if hide_copy:
            copy.visible = False
        if history: