def training():
 s3.filter = (FS('human_resource.type') == 2)
 return s3db.hrm_training_controller()

def training ( ) : s3 . filter = ( FS ( 'human_resource.type' ) == 2 ) return s3db . hrm_training_controller ( )
training controller - used for searching for participants .