Merge pull request #1032 from KevinVdV/DS-2724-items-workflow-view

[DS-2724] Items in workflow view broken for basic workflow
This commit is contained in:
Tim Donohue
2015-08-26 10:54:13 -05:00

View File

@@ -329,7 +329,7 @@ public class Submissions extends AbstractDSpaceTransformer
*/
private void addSubmissionsInWorkflow(Division division) throws SQLException, WingException
{
List<BasicWorkflowItem> inprogressItems = basicWorkflowItemService.findByOwner(context, context.getCurrentUser());
List<BasicWorkflowItem> inprogressItems = basicWorkflowItemService.findBySubmitter(context, context.getCurrentUser());
// If there is nothing in progress then don't add anything.
if (!(inprogressItems.size() > 0))