Details

Description

In largish archives the tables on the submissions page can become long and unwieldy, but with Datatables.js they can be searched. There are some troubles with this page, that i have traced to "dspace-xmlui/src/main/java/org/dspace/app/xmlui/aspect/xmlworkflow/Submissions.java"

On the submissions page there are to tables with the same id, #aspect_xmlworkflow_Submissions_div_workflow-tasks.

This is of course illegal and is making trouble for a DataTables.js config on this page.
The button for claiming or returning tasks is also part of the table markup, which makes DataTables complain that there is a mismatch between columns in thead and tboby.

Attached is the "dspace-xmlui/src/main/java/org/dspace/app/xmlui/aspect/xmlworkflow/Submissions.java"-file that is running fine on the bora.uib.no test environment and the js for Datatables.

The id's are changes and the button and "no tasks" message is moved out of the table.