Skip to content

Commit

Permalink
FIX {$Context.LinkToPendingItems} now provides the correct URL to edi…
Browse files Browse the repository at this point in the history
…t the current workflow

This was missing its namespace since the SS4 upgrade
  • Loading branch information
robbieaverill committed Apr 28, 2019
1 parent c03140b commit a4ac286
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Extensions/WorkflowApplicable.php
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ public function AbsoluteEditLink()
public function LinkToPendingItems()
{
$urlBase = Director::absoluteBaseURL();
$urlFrag = 'admin/workflows/WorkflowDefinition/EditForm/field';
$urlFrag = 'admin/workflows/Symbiote-AdvancedWorkflow-DataObjects-WorkflowDefinition/EditForm/field';
$urlInst = $this->getWorkflowInstance();
return Controller::join_links($urlBase, $urlFrag, 'PendingObjects', 'item', $urlInst->ID, 'edit');
}
Expand Down

0 comments on commit a4ac286

Please sign in to comment.