{"comment":{"url":"https://api.github.com/repos/jeanmichelly/MealSquare/comments/16787018","html_url":"https://github.com/jeanmichelly/MealSquare/commit/8e349634a4b44728a1053aacb51b36cbcea552eb#commitcomment-16787018","id":16787018,"user":{"login":"jeanmichelly","id":5487317,"avatar_url":"https://avatars.githubusercontent.com/u/5487317?v=3","gravatar_id":"","url":"https://api.github.com/users/jeanmichelly","html_url":"https://github.com/jeanmichelly","followers_url":"https://api.github.com/users/jeanmichelly/followers","following_url":"https://api.github.com/users/jeanmichelly/following{/other_user}","gists_url":"https://api.github.com/users/jeanmichelly/gists{/gist_id}","starred_url":"https://api.github.com/users/jeanmichelly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeanmichelly/subscriptions","organizations_url":"https://api.github.com/users/jeanmichelly/orgs","repos_url":"https://api.github.com/users/jeanmichelly/repos","events_url":"https://api.github.com/users/jeanmichelly/events{/privacy}","received_events_url":"https://api.github.com/users/jeanmichelly/received_events","type":"User","site_admin":false},"position":null,"line":null,"path":"","commit_id":"8e349634a4b44728a1053aacb51b36cbcea552eb","created_at":"2016-03-21T16:51:32Z","updated_at":"2016-03-21T16:51:32Z","body":"Utiliser entity Field Type semble correspondre pour avoir des collections de listes déroulantes plutôt que de collection d'input text. Néanmoins, on est limité en utilisant EntityRepository puisqu'on peut pas sélectionner ce que l'on veut (il récupère tout les champs de la table). Par conséquent, les listes déroulantes prennent automatiquement comme value l'id de l'ingrédient. Or pour rechercher par ingrédient on a besoin que value prenne le nom de l'ingrédient"}}