(self, sorting_block)
return query
To be used with `get_sorting_block`, which interprets datatables sorting
To be used with `get_sorting_block`, which interprets datatables sorting
To be used with get_sorting_block which interprets datatables sorting
def set_sorting_block(self, sorting_block):
        """To be used with `get_sorting_block`, which interprets datatables sorting"""
        query = deepcopy(self)
        query.es_query['sort'] = sorting_block
        return query
def set_sorting_block ( self , sorting_block ) : query = deepcopy ( self ) query . es_query [ 'sort' ] = sorting_block return query