예제 #1
0
    def advanced_search(self, pattern):
        """Advanced search on entries"""
        from pyparsing import ParseException
        from zinnia.search import advanced_search

        try:
            return advanced_search(pattern)
        except ParseException:
            # Raise an ImportError to fallback in basic_search
            raise ImportError
예제 #2
0
 def advanced_search(self, pattern):
     """Advanced search on entries"""
     from zinnia.search import advanced_search
     return advanced_search(pattern)
예제 #3
0
 def advanced_search(self, pattern):
     """Advanced search on entries"""
     from zinnia.search import advanced_search
     return advanced_search(pattern)
예제 #4
0
 def advanced_search(self, pattern):
     from zinnia.search import advanced_search
     return advanced_search(pattern)