{"action":"created","issue":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/20413","repository_url":"https://api.github.com/repos/joomla/joomla-cms","labels_url":"https://api.github.com/repos/joomla/joomla-cms/issues/20413/labels{/name}","comments_url":"https://api.github.com/repos/joomla/joomla-cms/issues/20413/comments","events_url":"https://api.github.com/repos/joomla/joomla-cms/issues/20413/events","html_url":"https://github.com/joomla/joomla-cms/pull/20413","id":323363941,"number":20413,"title":"Fixing com_fields integration in com_contact","user":{"login":"artur-stepien","id":2000754,"avatar_url":"https://avatars3.githubusercontent.com/u/2000754?v=4","gravatar_id":"","url":"https://api.github.com/users/artur-stepien","html_url":"https://github.com/artur-stepien","followers_url":"https://api.github.com/users/artur-stepien/followers","following_url":"https://api.github.com/users/artur-stepien/following{/other_user}","gists_url":"https://api.github.com/users/artur-stepien/gists{/gist_id}","starred_url":"https://api.github.com/users/artur-stepien/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artur-stepien/subscriptions","organizations_url":"https://api.github.com/users/artur-stepien/orgs","repos_url":"https://api.github.com/users/artur-stepien/repos","events_url":"https://api.github.com/users/artur-stepien/events{/privacy}","received_events_url":"https://api.github.com/users/artur-stepien/received_events","type":"User","site_admin":false},"labels":[{"id":60721348,"url":"https://api.github.com/repos/joomla/joomla-cms/labels/PR-staging","name":"PR-staging","color":"c7def8","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-15T20:06:27Z","updated_at":"2018-05-17T03:37:34Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/joomla/joomla-cms/pulls/20413","html_url":"https://github.com/joomla/joomla-cms/pull/20413","diff_url":"https://github.com/joomla/joomla-cms/pull/20413.diff","patch_url":"https://github.com/joomla/joomla-cms/pull/20413.patch"},"body":"Custom fields in com_contact currently doesn't work propertly. Choosing a category on which they should appear doesn't work cause fields plugin has no information about contact catid as not data is passed to form when contact form is displayed. Below is a test for the bug it fixes.\r\n\r\n### Summary of Changes\r\nAdding `catid` to contact form data.\r\n\r\n\r\n### Testing Instructions\r\n- Create 2 contacts categories\r\n- Create 2 contacts, select them different categories and link them in menu (with enabled contact form)\r\n- Create 2 checkbox type fields (in `Mail` group so they will be displayed in contact form), One should have a selected category, the other should have `All` in category select\r\n- Go to front and look at both contact forms\r\n\r\n### Expected result\r\n- One contact should have 2 checkbox fields added\r\n- The other should have only one checkbox field added\r\n\r\n### Actual result\r\n- Both checkboxes display in both contacts\r\n\r\n\r\n### Documentation Changes Required\r\nNone\r\n"},"comment":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/comments/389734530","html_url":"https://github.com/joomla/joomla-cms/pull/20413#issuecomment-389734530","issue_url":"https://api.github.com/repos/joomla/joomla-cms/issues/20413","id":389734530,"user":{"login":"Quy","id":368084,"avatar_url":"https://avatars2.githubusercontent.com/u/368084?v=4","gravatar_id":"","url":"https://api.github.com/users/Quy","html_url":"https://github.com/Quy","followers_url":"https://api.github.com/users/Quy/followers","following_url":"https://api.github.com/users/Quy/following{/other_user}","gists_url":"https://api.github.com/users/Quy/gists{/gist_id}","starred_url":"https://api.github.com/users/Quy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Quy/subscriptions","organizations_url":"https://api.github.com/users/Quy/orgs","repos_url":"https://api.github.com/users/Quy/repos","events_url":"https://api.github.com/users/Quy/events{/privacy}","received_events_url":"https://api.github.com/users/Quy/received_events","type":"User","site_admin":false},"created_at":"2018-05-17T03:37:34Z","updated_at":"2018-05-17T03:37:34Z","author_association":"CONTRIBUTOR","body":"Fixed in #20214 that will be in v3.8.8."}}
{"actor":{"display_login":"Quy"}}