

def prep_search_value(self, term, lookup_type):
    term = term.lower()
    if (term == 'true'):
        term = True
    elif (term == 'false'):
        term = False
    else:
        return None
    return super(BooleanColumn, lookup_type).prep_search_value(term, lookup_type)

dataset/ETHPy150Open pivotal-energy-solutions/django-datatable-view/datatableview/columns.py BooleanColumn.prep_search_value/VarMisuse@63/77 `self`->`lookup_type`