--- a/web/facet.py Mon Apr 11 13:29:41 2011 +0200
+++ b/web/facet.py Mon Apr 11 16:12:02 2011 +0200
@@ -928,9 +928,7 @@
"""
attrtype = 'Float' # only numerical types are supported
- @property
- def wdgclass(self):
- return FacetRangeWidget
+ wdgclass = FacetRangeWidget
def get_widget(self):
"""return the widget instance to use to display this facet"""
@@ -975,9 +973,7 @@
"""
attrtype = 'Date' # only date types are supported
- @property
- def wdgclass(self):
- return DateFacetRangeWidget
+ wdgclass = DateFacetRangeWidget
def formatvalue(self, value):
"""format `value` before in order to insert it in the RQL query"""