Beispiel #1
0
 def get_items(self, resource, context, *args):
     abspath = str(resource.get_canonical_path())
     query = [
         PhraseQuery('parent_path', abspath),
         PhraseQuery('format', 'order')
     ]
     return SearchTableFolder_View.get_items(self,
                                             resource,
                                             context,
                                             query=query)
Beispiel #2
0
 def get_items(self, resource, context, *args):
     abspath = str(resource.get_canonical_path())
     query = [PhraseQuery('parent_path', abspath),
              PhraseQuery('format', 'order')]
     return SearchTableFolder_View.get_items(self, resource, context, query=query)
Beispiel #3
0
 def get_items(self, resource, context, query=[]):
     query = [PhraseQuery('format', 'shop_module_a_review')]
     return SearchTableFolder_View.get_items(self, resource, context, query)
Beispiel #4
0
 def get_items(self, resource, context, query=[]):
     query = [PhraseQuery('format', 'product')]
     # Super
     return SearchTableFolder_View.get_items(self, resource, context, query)
Beispiel #5
0
 def get_items(self, resource, context, query=[]):
     query = [OrQuery(
                   PhraseQuery('format', 'product'),
                   PhraseQuery('format', 'product-declination'))]
     return SearchTableFolder_View.get_items(self, resource, context, query)
Beispiel #6
0
 def get_items(self, resource, context, query=[]):
     query = [
         OrQuery(PhraseQuery('format', 'product'),
                 PhraseQuery('format', 'product-declination'))
     ]
     return SearchTableFolder_View.get_items(self, resource, context, query)
Beispiel #7
0
 def get_items(self, resource, context, query=[]):
     query = [PhraseQuery('format', 'shop_module_a_review')]
     return SearchTableFolder_View.get_items(self, resource, context, query)