--- a/web/views/facets.py Fri Oct 28 11:33:24 2011 +0200
+++ b/web/views/facets.py Fri Oct 28 11:33:25 2011 +0200
@@ -274,9 +274,10 @@
compact_layout_threshold = 5
def call(self, vid, divid, vidargs=None, cssclass=''):
+ hiddens = self.cw_extra_kwargs.setdefault('hiddens', {})
+ hiddens['fromformfilter'] = '1'
self.generate_form(self.w, self.cw_rset, divid, vid, vidargs=vidargs,
- cssclass=cssclass, hiddens={'fromformfilter':'1'},
- **self.cw_extra_kwargs)
+ cssclass=cssclass, **self.cw_extra_kwargs)
def _simple_horizontal_layout(self, w, wdgs):
w(u'<table class="filter">\n')