Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Move item component #335
Add the item move component to the Edit Item menu.
This feature is based on the “Move…” feature in DSpace 6. When clicking the “Move…” button in the “Edit Item” menu, the user will be redirected to a page where the user can select a collection. A search box will be present that allows the user to enter a query to narrow down the list of collections.
To avoid a big dropdown menu, the maximum amount of collections is restricted to 10. In case the collection is not present in the list, the search menu needs to be used to narrow down the results to a list that does contain the collection. Clicking the collection in the dropdown will select it.
A checkbox is present to indicate whether policies from the new collection need to be inherited. No support is present yet in the backend, so this is added as a TODO in the code.
Another TODO is present in the code. Currently no support is present to only display a collection to which the current user has ADD rights.
To test the functionality, navigate to an item page, add "/edit" at the url, and click the Move button.
This PR depends on DSpace/DSpace#2283