def candidateCommitteeSearchSlow(queryset, querydict):
    try:
        search_term = querydict['search_term']
        queryset = queryset.filter(Q(name__icontains=search_term)|Q(curated_candidate__name__icontains=search_term))
        
    except KeyError:
        pass
    return queryset
Run the api
dataset/ETHPy150Open sunlightlabs/read_FEC/fecreader/api/filters.py/candidateCommitteeSearchSlow--crossover with--dataset/ETHPy150Open saltstack/salt/salt/cli/spm.py/SPM.run