lightspeedretail / webstore

Web Store eCommerce solution for Lightspeed
http://www.lightspeedpos.com/webstore
Open Software License 3.0
85 stars 63 forks source link

Bug in the Category Tree order #635

Closed echantigny closed 9 years ago

echantigny commented 10 years ago

There is a major issue in the main controller for the Category Tree menu's order. core/protected/components/Controller.php Line 543 and 566 there is a ksort(). ksort resorts all the categories in alphabetic order, destroying the menu_position order that the Category::getTree() code uses.

Yes, there is a simple solution with calling the Category::getTree() directly when calling the menu widget, but it should not be necessary and adds a database/cache call.

ottaz commented 10 years ago

Hi @echantigny

This issue is listed in our internal bug tracking system as WS-2002. At this time the bug has not been completed.

ottaz commented 9 years ago

This bug has been fixed as of version 3.2.6.