adding query (by foreign key and like %name%) example, see projectLocation in controller