mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 10:04:21 +00:00
[DS-2724] Items in workflow view broken for basic workflow
This commit is contained in:
@@ -329,7 +329,7 @@ public class Submissions extends AbstractDSpaceTransformer
|
|||||||
*/
|
*/
|
||||||
private void addSubmissionsInWorkflow(Division division) throws SQLException, WingException
|
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 there is nothing in progress then don't add anything.
|
||||||
if (!(inprogressItems.size() > 0))
|
if (!(inprogressItems.size() > 0))
|
||||||
|
Reference in New Issue
Block a user