code: def filter(self, table, groups, filter_string):
          
          query = filter_string.lower()
          return [group for group in groups
                  if query in group.name.lower()]
docs: Naive case-insensitive search.