{"action":"created","issue":{"url":"https://api.github.com/repos/metabase/metabase/issues/5671","repository_url":"https://api.github.com/repos/metabase/metabase","labels_url":"https://api.github.com/repos/metabase/metabase/issues/5671/labels{/name}","comments_url":"https://api.github.com/repos/metabase/metabase/issues/5671/comments","events_url":"https://api.github.com/repos/metabase/metabase/issues/5671/events","html_url":"https://github.com/metabase/metabase/issues/5671","id":247551933,"number":5671,"title":"\"Friendlier Fields\" Foreign Key Display Value Remapping Not Working?","user":{"login":"sherbondy","id":193187,"avatar_url":"https://avatars0.githubusercontent.com/u/193187?v=4","gravatar_id":"","url":"https://api.github.com/users/sherbondy","html_url":"https://github.com/sherbondy","followers_url":"https://api.github.com/users/sherbondy/followers","following_url":"https://api.github.com/users/sherbondy/following{/other_user}","gists_url":"https://api.github.com/users/sherbondy/gists{/gist_id}","starred_url":"https://api.github.com/users/sherbondy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sherbondy/subscriptions","organizations_url":"https://api.github.com/users/sherbondy/orgs","repos_url":"https://api.github.com/users/sherbondy/repos","events_url":"https://api.github.com/users/sherbondy/events{/privacy}","received_events_url":"https://api.github.com/users/sherbondy/received_events","type":"User","site_admin":false},"labels":[{"id":234563217,"url":"https://api.github.com/repos/metabase/metabase/labels/UX","name":"UX","color":"BBA8ED","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-08-02T23:30:21Z","updated_at":"2017-08-04T16:54:17Z","closed_at":null,"body":"### Bug\r\nTrying to use the new \"Friendlier Fields\" feature in a v0.25.1 Metabase instance.\r\nThe underlying database I am querying is Postgres, as is the Metabase internal db.\r\n\r\nWhen I try to remap the field through the Data Model Admin Panel, I am able to change the settings and save them successfully:\r\n\r\n<img width=\"901\" alt=\"screenshot 2017-08-02 19 19 46\" src=\"https://user-images.githubusercontent.com/193187/28899211-c549a9c0-77b7-11e7-9a40-cce063ef8ac3.png\">\r\n\r\nBut the new Display value does not show in my queries, even after triggering a refresh. They still continue to display the raw ID value instead of the \"Name\" value from, e.g. the \"Category\" table in this example:\r\n\r\n<img width=\"852\" alt=\"screenshot 2017-08-02 19 22 29\" src=\"https://user-images.githubusercontent.com/193187/28899241-f666bd68-77b7-11e7-82f3-cf27784e7a0d.png\">\r\n\r\nAm I just not understanding how the feature is supposed to work? Or is this a bug?\r\n\r\nI have query caching enabled on my Metabase instance, fwiw.\r\n"},"comment":{"url":"https://api.github.com/repos/metabase/metabase/issues/comments/320299101","html_url":"https://github.com/metabase/metabase/issues/5671#issuecomment-320299101","issue_url":"https://api.github.com/repos/metabase/metabase/issues/5671","id":320299101,"user":{"login":"sherbondy","id":193187,"avatar_url":"https://avatars0.githubusercontent.com/u/193187?v=4","gravatar_id":"","url":"https://api.github.com/users/sherbondy","html_url":"https://github.com/sherbondy","followers_url":"https://api.github.com/users/sherbondy/followers","following_url":"https://api.github.com/users/sherbondy/following{/other_user}","gists_url":"https://api.github.com/users/sherbondy/gists{/gist_id}","starred_url":"https://api.github.com/users/sherbondy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sherbondy/subscriptions","organizations_url":"https://api.github.com/users/sherbondy/orgs","repos_url":"https://api.github.com/users/sherbondy/repos","events_url":"https://api.github.com/users/sherbondy/events{/privacy}","received_events_url":"https://api.github.com/users/sherbondy/received_events","type":"User","site_admin":false},"created_at":"2017-08-04T16:54:17Z","updated_at":"2017-08-04T16:54:17Z","body":"Yes it does, you are correct, this is a dupe! Definitely expecting the display remapping to happen with group by foreign key!"}}
{"actor":{"display_login":"sherbondy"}}