Skip to content

Commit 7983576

Browse files
committed
MCR-3586 improve CLI selection feature
1 parent c245963 commit 7983576

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mir-module/src/main/java/org/mycore/mir/migration/MIRMigration202006Utils.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
import org.mycore.datamodel.metadata.MCRMetadataManager;
3939
import org.mycore.datamodel.metadata.MCRObject;
4040
import org.mycore.datamodel.metadata.MCRObjectID;
41-
import org.mycore.frontend.cli.MCRObjectCommands;
41+
import org.mycore.frontend.cli.MCRBasicCommands;
4242
import org.mycore.frontend.cli.annotation.MCRCommand;
4343
import org.mycore.frontend.cli.annotation.MCRCommandGroup;
4444
import org.mycore.mir.editor.MIREditorUtils;
@@ -256,7 +256,7 @@ public static void selectObjectWhichNeedMigration() {
256256
}
257257
}).collect(Collectors.toList());
258258

259-
MCRObjectCommands.setSelectedObjectIDs(objectsToMigrate);
259+
MCRBasicCommands.setSelectedValues(objectsToMigrate);
260260
}
261261

262262
@MCRCommand(

0 commit comments

Comments
 (0)