SQL slowdowns on Shop > Orders
|Assignee:||Van Hoecke Hélène||% Done:|
On the page "My commands" (Frontend) the data loading is very slow.
The problem was found in "sdiBasket" class.
To fix this bug we have extended the class with a new optional "smartviewmode" property (set to false by default).
Sample call of the "SmartView" mode
$basket = new SdiBasket (); $basket-> Smartviewmode = true; $basket-LoadOrder ($item-> ID);
This mode ignores setting properties that are not used in this view.