-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Open
Labels
Area: AccountComponent: CustomerComponent: XmlFixed in 2.4.xThe issue has been fixed in 2.4-develop branchThe issue has been fixed in 2.4-develop branchPriority: P3May be fixed according to the position in the backlog.May be fixed according to the position in the backlog.Progress: ready for devProgress: ready for groomingReported on 2.3.3Indicates original Magento version for the Issue report.Indicates original Magento version for the Issue report.Severity: S3Affects non-critical data or functionality and does not force users to employ a workaround.Affects non-critical data or functionality and does not force users to employ a workaround.Triage: Dev.ExperienceIssue related to Developer Experience and needs help with Triage to Confirm or Reject itIssue related to Developer Experience and needs help with Triage to Confirm or Reject itfeature request
Milestone
Description
Preconditions (*)
- Magento Commerce 2.3.3
Steps to reproduce (*)
- Add a child block with
sortOrdervalue of1in your layout XML, e.g.,Magento_Customer/layout/customer_account.xmlin your custom theme:
<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body>
<referenceBlock name="customer_account_navigation">
<block class="Magento\Customer\Block\Account\SortLinkInterface" name="customer-account-navigation-logout-link">
<arguments>
<argument name="label" xsi:type="string" translate="true">Logout</argument>
<argument name="path" xsi:type="string">account/logout</argument>
<argument name="sortOrder" xsi:type="number">1</argument>
</arguments>
</block>
</referenceBlock>
</body>
</page>
- Flush the layout and full page caches
- Log in at the front end and navigate to
/customer/account/
Expected result (*)
- A new, Logout link should appear in the left sidebar at the very top.
Actual result (*)
- A new, Logout link appears at the very bottom instead.
My understanding is that the lower the sortOrder value is, the higher up the item should be rendered in the list. It seems to be reversed.
Seems similar to:
Metadata
Metadata
Assignees
Labels
Area: AccountComponent: CustomerComponent: XmlFixed in 2.4.xThe issue has been fixed in 2.4-develop branchThe issue has been fixed in 2.4-develop branchPriority: P3May be fixed according to the position in the backlog.May be fixed according to the position in the backlog.Progress: ready for devProgress: ready for groomingReported on 2.3.3Indicates original Magento version for the Issue report.Indicates original Magento version for the Issue report.Severity: S3Affects non-critical data or functionality and does not force users to employ a workaround.Affects non-critical data or functionality and does not force users to employ a workaround.Triage: Dev.ExperienceIssue related to Developer Experience and needs help with Triage to Confirm or Reject itIssue related to Developer Experience and needs help with Triage to Confirm or Reject itfeature request
Type
Projects
Status
No status