예제 #1
0
def ajax_experiments_people():
    """Datatable handler to get people working in an experiment."""
    experiment_name = request.args.get('experiment_name', '')

    html, total = render_experiment_people(experiment_name)

    return jsonify({"data": html, "total": total})
예제 #2
0
def ajax_experiments_people():
    """Datatable handler to get people working in an experiment."""
    experiment_name = request.args.get('experiment_name', '')

    html, total = render_experiment_people(experiment_name)

    return jsonify(
        {
            "data": html,
            "total": total
        }
    )