Beispiel #1
0
    def handle_api_navbox(self, http_context, query=None):
        """
        Connector to query some search in the sidebar items through navbox.

        :param http_context: HttpContext
        :type http_context: HttpContext
        :param query: Search query
        :type query: string
        :return: List of sidebar items, one item per dict
        :rtype: list of dict
        """

        return Navbox.get(self.context).search(query)
Beispiel #2
0
 def handle_api_navbox(self, http_context, query=None):
     return Navbox.get(self.context).search(query)
Beispiel #3
0
 def handle_api_navbox(self, http_context, query=None):
     return Navbox.get(self.context).search(query)