#NEWLINE# def __init__( self , lh , relobj , **kw ) : #NEWLINE# #INDENT# name = relobj . field . name #NEWLINE# def f( obj , ar ) : #NEWLINE# #INDENT# return qs2summary ( ar , getattr ( obj , name ) . all ( ) ) #NEWLINE# #UNINDENT# box = fields . HtmlBox ( relobj . field . verbose_name ) #NEWLINE# fld = fields . VirtualField ( box , f ) #NEWLINE# fld . name = name #NEWLINE# fld . lino_resolve_type ( ) #NEWLINE# super ( ManyToManyElement , self ) . __init__ ( lh , fld , ** kw )