the building of the query builder should be done in the entity repository instead of being done in the form type IMO