Skip to content

Commit

Permalink
Include action in locale links
Browse files Browse the repository at this point in the history
  • Loading branch information
purplespider authored Mar 15, 2021
1 parent 6044c7e commit 234e1cd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Model/RecordLocale.php
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,8 @@ public function getLink()
}

// Get link from localised record
return $record->Link();
$action = Controller::curr()->getRequest()->params()['Action'] ?? null;
return $record->Link($action);
}

/**
Expand Down

0 comments on commit 234e1cd

Please sign in to comment.