User tests: Successful: Unsuccessful:
Pull Request to fix missing context for com_fields when doing actions like publishing or unpublishing Field or Field Group items.
In the Custom Field Groups and Custom Fields of Content & Users, the left menu closed after doing an action (like publish or unbublish) on a Custom Field Group Item or Custom Field Item.
Go to each of the following menu items and publish or unpublish an item:
After doing a publish or unpublish action in com_fields, the menu on the left closes because the URL is missing the &context=[component][view]
After doing a publish or unpublish action in com_fields, the menu on the left remains open because the right context &context=[component][view]
is passed through via the URL.
Status | New | ⇒ | Pending |
Category | ⇒ | Libraries |
Labels |
Added:
PR-4.1-dev
|
@pe7er The propose change does not look right to me. For this, you should modify code in Fields and Groups controllers of com_fields instead. Just add getRedirectToListAppend
method to the two controllers with the below code should solve the issue:
protected function getRedirectToListAppend()
{
$context = $this->input->getString('context');
if ($context)
{
return '&context=' . $context;
}
}
This pull requests has automatically rebased to 4.2-dev.
This pull requests has been automatically converted to the PSR-12 coding standard.
Labels |
Added:
Updates Requested
psr12
|
also see #34067