コード例 #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)
コード例 #2
0
ファイル: orders_views.py プロジェクト: hforge/shop
 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)
コード例 #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)
コード例 #4
0
 def get_items(self, resource, context, query=[]):
     query = [PhraseQuery('format', 'product')]
     # Super
     return SearchTableFolder_View.get_items(self, resource, context, query)
コード例 #5
0
ファイル: stock.py プロジェクト: hforge/shop
 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)
コード例 #6
0
ファイル: stock.py プロジェクト: nicolasderam/shop
 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)
コード例 #7
0
ファイル: review.py プロジェクト: hforge/shop
 def get_items(self, resource, context, query=[]):
     query = [PhraseQuery('format', 'shop_module_a_review')]
     return SearchTableFolder_View.get_items(self, resource, context, query)