Skip to content

Fix accession type option in clipboard export

Closes #2221 Closes #2222

These issues are closely related so I addressed them both in this PR.

There is some JS that watches for changes in the Type selector on the clipboard export page, and "accession" was not one of the expected types, so it always fell back to "informationObject". This is why it wasn't possible to select the Accession option.

And now I'm only showing the Accession option in that dropdown when the user is an editor or admin.

Merge request reports

Loading