From a4ac2867bebf739f2778039493ff1809424cfb6b Mon Sep 17 00:00:00 2001 From: Robbie Averill Date: Mon, 29 Apr 2019 11:02:50 +1200 Subject: [PATCH] FIX {$Context.LinkToPendingItems} now provides the correct URL to edit the current workflow This was missing its namespace since the SS4 upgrade --- src/Extensions/WorkflowApplicable.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Extensions/WorkflowApplicable.php b/src/Extensions/WorkflowApplicable.php index f2e8e57a..39ecee6e 100644 --- a/src/Extensions/WorkflowApplicable.php +++ b/src/Extensions/WorkflowApplicable.php @@ -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'); }