#NEWLINE# def filter( self , table , items , filter_string ) : #NEWLINE# #INDENT# 'Naive case-insensitive search.' #NEWLINE# query = filter_string . lower ( ) #NEWLINE# return [ item for item in items if ( query in item . name . lower ( ) ) ]