'Really naive case-insensitive search.'

def filter(self, table, flavors, filter_string):

    q = filter_string.lower()
    def comp(flavor):
        return (q in flavor.name.lower())
    return filter(comp, flavors)
