[wf component] reversing selectors here may be a huge performance win on big rsets, since EntityVComponent selector starts with one_line_rset
--- a/web/views/workflow.py Tue Sep 28 16:52:45 2010 +0200
+++ b/web/views/workflow.py Tue Sep 28 18:53:45 2010 +0200
@@ -163,7 +163,7 @@
class WFHistoryVComponent(component.EntityVComponent):
"""display the workflow history for entities supporting it"""
__regid__ = 'wfhistory'
- __select__ = WFHistoryView.__select__ & component.EntityVComponent.__select__
+ __select__ = component.EntityVComponent.__select__ & WFHistoryView.__select__
context = 'navcontentbottom'
title = _('Workflow history')