web/facet.py
changeset 499 ad3de58a8e30
parent 496 e25a3c2f5393
child 536 781cd9fccbaa
equal deleted inserted replaced
498:fc7ce5f95dd9 499:ad3de58a8e30
   241     property_defs = {
   241     property_defs = {
   242         _('visible'): dict(type='Boolean', default=True,
   242         _('visible'): dict(type='Boolean', default=True,
   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='',
   247                            # None <-> both
   247                            # None <-> both
   248                            vocabulary=(_('tablefilter'), _('facetbox'), ''),
   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