You can clone with
HTTPS or Subversion.
There are two different ways to add navigation link in magento:
When we try to add link using addLink method - it will sort array by position: ksort($this->_links);,
but when we add link by addLinkBlock($blockName) method it will add link by square bracket syntax: $this->_links[$this->_getNewPosition((int)$block->getPosition())] = $block;
In this case we produce wrong links order, because php add element at the end of array (index value doesn't make sense)
See php manual: http://www.php.net/manual/en/language.types.array.php#language.types.array.syntax.modifying
Create public method for sorting links array then use it in addLink method. Add array sorting for addLinkBlock method.
Also try this flow -
1. Customer is registered
2. Order is created
1. Login to Frontend
2. Open "My Orders" tab
3. Open "View Order" page
Actual Result: "Items Ordered" grid show before order information
Expected result: "Items Ordered" grid show below order information
Bugathon PM - Ashish Kumar
Suggested flow does not demonstrate the issue:
I was not able to look up the commits that you referenced. Could you please provide the direct links to them.
Thanks in advance!
I can submit a PR if that will help. Let me know. Thanks!
Please do. Thank you!
PR submitted: #275
This issue was merged and should be available as part of CE 1.8.1 release.