Example #1
0
def collection_view_listing_es(context, request):
    # Switch to change summary page loading options
    if request.datastore != 'elasticsearch':
        return collection_view_listing_db(context, request)

    return search(context, request, context.type_info.name)
Example #2
0
def collection_view_listing_es(context, request):
    '''Switch to change summary page loading options'''
    if request.datastore != 'elasticsearch':
        return collection_view_listing_db(context, request)
    return search(context, request)
Example #3
0
def collection_view_listing_es(context, request):
    # Switch to change summary page loading options
    if request.datastore != 'elasticsearch':
        return collection_view_listing_db(context, request)

    return search(context, request, context.type_info.name)
Example #4
0
def collection_view_listing_es(context, request):
    '''Switch to change summary page loading options'''
    if request.datastore != 'elasticsearch':
        return collection_view_listing_db(context, request)
    return search(context, request)