#NEWLINE# def filter( self , table , items , filter_string ) : #NEWLINE# #INDENT# filter_field = table . get_filter_field ( ) #NEWLINE# if ( ( filter_field == 'name' ) and filter_string ) : #NEWLINE# #INDENT# return [ item for item in items if ( self in item . name ) ] #NEWLINE# #UNINDENT# return items