[facet] before 3.6 we were sure to have a cw_rset attribute. Restore this for facets stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 26 Feb 2010 06:55:43 +0100
branchstable
changeset 4701 3acd198a66c9
parent 4700 b981c7d3e3c0
child 4702 d9e51820d0c2
[facet] before 3.6 we were sure to have a cw_rset attribute. Restore this for facets
web/facet.py
--- a/web/facet.py	Thu Feb 25 17:42:51 2010 +0100
+++ b/web/facet.py	Fri Feb 26 06:55:43 2010 +0100
@@ -267,6 +267,7 @@
     context = ''
     needs_update = False
     start_unfolded = True
+    cw_rset = None # ensure facets have a cw_rset attribute
 
     def __init__(self, req, rqlst=None, filtered_variable=None,
                  **kwargs):