web/facet.py
changeset 446 3a3ab6bbccc5
parent 408 a8814ff6824e
child 467 a6f056bc7d1d
equal deleted inserted replaced
445:18cc518d5e33 446:3a3ab6bbccc5
   243                            help=_('display the box or not')),
   243                            help=_('display the box or not')),
   244         _('order'):   dict(type='Int', default=99,
   244         _('order'):   dict(type='Int', default=99,
   245                            help=_('display order of the box')),
   245                            help=_('display order of the box')),
   246         _('context'): dict(type='String', default=None,
   246         _('context'): dict(type='String', default=None,
   247                            # None <-> both
   247                            # None <-> both
   248                            vocabulary=(_('tablefilter'), _('facetbox'), None),
   248                            vocabulary=(_('tablefilter'), _('facetbox'), ''),
   249                            help=_('context where this box should be displayed')),
   249                            help=_('context where this box should be displayed')),
   250         }
   250         }
   251     visible = True
   251     visible = True
   252     context = None
   252     context = ''
   253     needs_update = False
   253     needs_update = False
   254     start_unfolded = True
   254     start_unfolded = True
   255     
   255     
   256     @classmethod
   256     @classmethod
   257     def selected(cls, req, rset=None, rqlst=None, context=None,
   257     def selected(cls, req, rset=None, rqlst=None, context=None,