'Modify query to reflect the column filter.'

def filter(self, trans, user, query, column_filter):

    if (column_filter == 'All'):
        pass
    if (column_filter == 'True'):
        query = query.filter_by(**{self.key: True})
    elif (column_filter == 'False'):
        query = query.filter_by(**{self.key: False})
    return query
