Actions
Bug #4937
closedInternal path enabled WMenu always loads the first item contents
Start date:
05/25/2016
Due date:
% Done:
0%
Estimated time:
Description
Currently I'm using WMenu for paging in my web app. The first menu item's content is a summary widget (page) which runs a large number of COUNT, SUM and similar queries.
WMenu explicitly runs WWidget::load() on the first WMenuItem's::contents() WWidget regardless of what the current item index is or what the current internal path is. Since it calls this load explicitly I'm not sure if this is intentional or not, however, it is unnecessary and could benefit from the optimization of not calling load() on the first menu item's content.
Updated by Koen Deforche over 8 years ago
- Status changed from New to InProgress
- Assignee set to Roel Standaert
- Target version set to 3.3.6
This is indeed sometimes annoying, and we should be able to postpone the actual loading of the contents in the stack until we render the menu.
Updated by Roel Standaert over 8 years ago
- Status changed from InProgress to Implemented @Emweb
Updated by Koen Deforche over 8 years ago
- Status changed from Implemented @Emweb to Closed
Actions