def search(limit=100, page=1, product=None, sort=None, q=None): search_query = None kwargs = {} if product is not None: kwargs['product_id'] = product response = get_paginated_results(request, ProductMedia, serializer, limit, page, search_query, **kwargs) return response
def search(attribute_id=None, limit=100, page=1, sort=None, q=None): search_query = None kwargs = {} if attribute_id is not None: kwargs['attribute_id'] = attribute_id response = get_paginated_results(request, AttributeValue, serializer, limit, page, search_query, **kwargs) return response
def search(limit=100, page=1, sort=None, q=None): search_query = None return get_paginated_results(request, Category, serializer, limit, page, search_query)
def search(limit=100, page=1, sort=None, q=None): search_query = None response = get_paginated_results(request, HelpArticle, serializer, limit, page, search_query) return response