def default_panels(institute_id, case_name):
    """Update default panels for a case."""
    panel_ids = request.form.getlist('panel_ids')
    controllers.update_default_panels(store, current_user, institute_id, case_name, panel_ids)
    return redirect(request.referrer)
Update default panels for a case.