web/views/searchrestriction.py
changeset 0 b97547f5f1fa
child 16 a70ece4d9d1a
equal deleted inserted replaced
-1:000000000000 0:b97547f5f1fa
       
     1 """contains utility functions and some visual component to restrict results of
       
     2 a search
       
     3 
       
     4 :organization: Logilab
       
     5 :copyright: 2008 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
       
     6 :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
       
     7 """
       
     8 __docformat__ = "restructuredtext en"
       
     9 
       
    10 from simplejson import dumps
       
    11 
       
    12 from logilab.common.graph import has_path
       
    13 from logilab.common.decorators import cached
       
    14 from logilab.common.compat import all
       
    15 
       
    16 from logilab.mtconverter import html_escape
       
    17 
       
    18 from rql import nodes
       
    19 
       
    20 
       
    21 
       
    22 from cubicweb.web.facet import (VocabularyFacet, prepare_facets_rqlst)
       
    23 
       
    24 
       
    25 """Set of base controllers, which are directly plugged into the application
       
    26 object to handle publication.
       
    27 
       
    28 
       
    29 :organization: Logilab
       
    30 :copyright: 2001-2008 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
       
    31 :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
       
    32 """
       
    33 __docformat__ = "restructuredtext en"
       
    34 
       
    35 from logilab.common.deprecation import moved
       
    36 
       
    37 insert_attr_select_relation = moved('cubicweb.web.facet',
       
    38                                     'insert_attr_select_relation')