{"action":"created","comment":{"url":"https://api.github.com/repos/gantry/gantry5/pulls/comments/80389600","id":80389600,"diff_hunk":"@@ -21,7 +21,12 @@\n     {% set categories = joomla.finder('category', category_options).published(1).language().limit(0).find() %}\n \n     {# Content Finder #}\n-    {% set article_finder = joomla.finder('content').category(categories).published(1).language() %}\n+    {% if filter.articles %}\n+        {% set article_options = filter.articles ? {id: [filter.articles|split(',')]} : {} %}","path":"engines/joomla/nucleus/particles/contentarray.html.twig","position":6,"original_position":6,"commit_id":"03411107f4b9e840ec6f859d3ed210e878c0bb55","original_commit_id":"03411107f4b9e840ec6f859d3ed210e878c0bb55","user":{"login":"w00fz","id":11734,"avatar_url":"https://avatars.githubusercontent.com/u/11734?v=3","gravatar_id":"","url":"https://api.github.com/users/w00fz","html_url":"https://github.com/w00fz","followers_url":"https://api.github.com/users/w00fz/followers","following_url":"https://api.github.com/users/w00fz/following{/other_user}","gists_url":"https://api.github.com/users/w00fz/gists{/gist_id}","starred_url":"https://api.github.com/users/w00fz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/w00fz/subscriptions","organizations_url":"https://api.github.com/users/w00fz/orgs","repos_url":"https://api.github.com/users/w00fz/repos","events_url":"https://api.github.com/users/w00fz/events{/privacy}","received_events_url":"https://api.github.com/users/w00fz/received_events","type":"User","site_admin":false},"body":"Can you change\r\n\r\n```twig\r\n[filter.articles|split(',')]\r\n```\r\nto\r\n\r\n```twig\r\n[filter.articles|replace(' ', '')|split(',')]\r\n```\r\n\r\nThis way is less prone to user mistakes when dealing with spaces and more future proof as now you can use `1,2, 5 , 6, 10` which will always be translated to `1,2,5,6,10`.","created_at":"2016-09-25T19:18:53Z","updated_at":"2016-09-25T19:20:40Z","html_url":"https://github.com/gantry/gantry5/pull/1591#discussion_r80389600","pull_request_url":"https://api.github.com/repos/gantry/gantry5/pulls/1591","_links":{"self":{"href":"https://api.github.com/repos/gantry/gantry5/pulls/comments/80389600"},"html":{"href":"https://github.com/gantry/gantry5/pull/1591#discussion_r80389600"},"pull_request":{"href":"https://api.github.com/repos/gantry/gantry5/pulls/1591"}}},"pull_request":{"url":"https://api.github.com/repos/gantry/gantry5/pulls/1591","id":86659245,"html_url":"https://github.com/gantry/gantry5/pull/1591","diff_url":"https://github.com/gantry/gantry5/pull/1591.diff","patch_url":"https://github.com/gantry/gantry5/pull/1591.patch","issue_url":"https://api.github.com/repos/gantry/gantry5/issues/1591","number":1591,"state":"open","locked":false,"title":"Adds the ability to select single articles by entering their IDs.","user":{"login":"JoomFX","id":7753940,"avatar_url":"https://avatars.githubusercontent.com/u/7753940?v=3","gravatar_id":"","url":"https://api.github.com/users/JoomFX","html_url":"https://github.com/JoomFX","followers_url":"https://api.github.com/users/JoomFX/followers","following_url":"https://api.github.com/users/JoomFX/following{/other_user}","gists_url":"https://api.github.com/users/JoomFX/gists{/gist_id}","starred_url":"https://api.github.com/users/JoomFX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoomFX/subscriptions","organizations_url":"https://api.github.com/users/JoomFX/orgs","repos_url":"https://api.github.com/users/JoomFX/repos","events_url":"https://api.github.com/users/JoomFX/events{/privacy}","received_events_url":"https://api.github.com/users/JoomFX/received_events","type":"User","site_admin":false},"body":"It would also be nice to add a `pattern` for this YAML field, but I couldn't figure out the correct RegEx.\r\n\r\nBut it's not really needed because in the near future this `input.text` field should be replaced by the (not yet available) `joomla.articles` YAML field type (see https://github.com/gantry/gantry5/issues/1541 for more deatils).\r\n","created_at":"2016-09-25T19:08:01Z","updated_at":"2016-09-25T19:20:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e8769e304c34340483c294d43e223b94d437db8f","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/gantry/gantry5/pulls/1591/commits","review_comments_url":"https://api.github.com/repos/gantry/gantry5/pulls/1591/comments","review_comment_url":"https://api.github.com/repos/gantry/gantry5/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gantry/gantry5/issues/1591/comments","statuses_url":"https://api.github.com/repos/gantry/gantry5/statuses/03411107f4b9e840ec6f859d3ed210e878c0bb55","head":{"label":"JoomFX:develop","ref":"develop","sha":"03411107f4b9e840ec6f859d3ed210e878c0bb55","user":{"login":"JoomFX","id":7753940,"avatar_url":"https://avatars.githubusercontent.com/u/7753940?v=3","gravatar_id":"","url":"https://api.github.com/users/JoomFX","html_url":"https://github.com/JoomFX","followers_url":"https://api.github.com/users/JoomFX/followers","following_url":"https://api.github.com/users/JoomFX/following{/other_user}","gists_url":"https://api.github.com/users/JoomFX/gists{/gist_id}","starred_url":"https://api.github.com/users/JoomFX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoomFX/subscriptions","organizations_url":"https://api.github.com/users/JoomFX/orgs","repos_url":"https://api.github.com/users/JoomFX/repos","events_url":"https://api.github.com/users/JoomFX/events{/privacy}","received_events_url":"https://api.github.com/users/JoomFX/received_events","type":"User","site_admin":false},"repo":{"id":35494012,"name":"gantry5","full_name":"JoomFX/gantry5","owner":{"login":"JoomFX","id":7753940,"avatar_url":"https://avatars.githubusercontent.com/u/7753940?v=3","gravatar_id":"","url":"https://api.github.com/users/JoomFX","html_url":"https://github.com/JoomFX","followers_url":"https://api.github.com/users/JoomFX/followers","following_url":"https://api.github.com/users/JoomFX/following{/other_user}","gists_url":"https://api.github.com/users/JoomFX/gists{/gist_id}","starred_url":"https://api.github.com/users/JoomFX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoomFX/subscriptions","organizations_url":"https://api.github.com/users/JoomFX/orgs","repos_url":"https://api.github.com/users/JoomFX/repos","events_url":"https://api.github.com/users/JoomFX/events{/privacy}","received_events_url":"https://api.github.com/users/JoomFX/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JoomFX/gantry5","description":"Next Generation Theme Framework","fork":true,"url":"https://api.github.com/repos/JoomFX/gantry5","forks_url":"https://api.github.com/repos/JoomFX/gantry5/forks","keys_url":"https://api.github.com/repos/JoomFX/gantry5/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JoomFX/gantry5/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JoomFX/gantry5/teams","hooks_url":"https://api.github.com/repos/JoomFX/gantry5/hooks","issue_events_url":"https://api.github.com/repos/JoomFX/gantry5/issues/events{/number}","events_url":"https://api.github.com/repos/JoomFX/gantry5/events","assignees_url":"https://api.github.com/repos/JoomFX/gantry5/assignees{/user}","branches_url":"https://api.github.com/repos/JoomFX/gantry5/branches{/branch}","tags_url":"https://api.github.com/repos/JoomFX/gantry5/tags","blobs_url":"https://api.github.com/repos/JoomFX/gantry5/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JoomFX/gantry5/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JoomFX/gantry5/git/refs{/sha}","trees_url":"https://api.github.com/repos/JoomFX/gantry5/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JoomFX/gantry5/statuses/{sha}","languages_url":"https://api.github.com/repos/JoomFX/gantry5/languages","stargazers_url":"https://api.github.com/repos/JoomFX/gantry5/stargazers","contributors_url":"https://api.github.com/repos/JoomFX/gantry5/contributors","subscribers_url":"https://api.github.com/repos/JoomFX/gantry5/subscribers","subscription_url":"https://api.github.com/repos/JoomFX/gantry5/subscription","commits_url":"https://api.github.com/repos/JoomFX/gantry5/commits{/sha}","git_commits_url":"https://api.github.com/repos/JoomFX/gantry5/git/commits{/sha}","comments_url":"https://api.github.com/repos/JoomFX/gantry5/comments{/number}","issue_comment_url":"https://api.github.com/repos/JoomFX/gantry5/issues/comments{/number}","contents_url":"https://api.github.com/repos/JoomFX/gantry5/contents/{+path}","compare_url":"https://api.github.com/repos/JoomFX/gantry5/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JoomFX/gantry5/merges","archive_url":"https://api.github.com/repos/JoomFX/gantry5/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JoomFX/gantry5/downloads","issues_url":"https://api.github.com/repos/JoomFX/gantry5/issues{/number}","pulls_url":"https://api.github.com/repos/JoomFX/gantry5/pulls{/number}","milestones_url":"https://api.github.com/repos/JoomFX/gantry5/milestones{/number}","notifications_url":"https://api.github.com/repos/JoomFX/gantry5/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JoomFX/gantry5/labels{/name}","releases_url":"https://api.github.com/repos/JoomFX/gantry5/releases{/id}","deployments_url":"https://api.github.com/repos/JoomFX/gantry5/deployments","created_at":"2015-05-12T14:46:15Z","updated_at":"2016-01-12T20:38:27Z","pushed_at":"2016-09-25T18:58:15Z","git_url":"git://github.com/JoomFX/gantry5.git","ssh_url":"git@github.com:JoomFX/gantry5.git","clone_url":"https://github.com/JoomFX/gantry5.git","svn_url":"https://github.com/JoomFX/gantry5","homepage":"http://gantry.org","size":54957,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":1,"default_branch":"develop"}},"base":{"label":"gantry:develop","ref":"develop","sha":"68888ff9a1e61d9f5cc1de8fe17e402042c926c8","user":{"login":"gantry","id":1641473,"avatar_url":"https://avatars.githubusercontent.com/u/1641473?v=3","gravatar_id":"","url":"https://api.github.com/users/gantry","html_url":"https://github.com/gantry","followers_url":"https://api.github.com/users/gantry/followers","following_url":"https://api.github.com/users/gantry/following{/other_user}","gists_url":"https://api.github.com/users/gantry/gists{/gist_id}","starred_url":"https://api.github.com/users/gantry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gantry/subscriptions","organizations_url":"https://api.github.com/users/gantry/orgs","repos_url":"https://api.github.com/users/gantry/repos","events_url":"https://api.github.com/users/gantry/events{/privacy}","received_events_url":"https://api.github.com/users/gantry/received_events","type":"Organization","site_admin":false},"repo":{"id":32997061,"name":"gantry5","full_name":"gantry/gantry5","owner":{"login":"gantry","id":1641473,"avatar_url":"https://avatars.githubusercontent.com/u/1641473?v=3","gravatar_id":"","url":"https://api.github.com/users/gantry","html_url":"https://github.com/gantry","followers_url":"https://api.github.com/users/gantry/followers","following_url":"https://api.github.com/users/gantry/following{/other_user}","gists_url":"https://api.github.com/users/gantry/gists{/gist_id}","starred_url":"https://api.github.com/users/gantry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gantry/subscriptions","organizations_url":"https://api.github.com/users/gantry/orgs","repos_url":"https://api.github.com/users/gantry/repos","events_url":"https://api.github.com/users/gantry/events{/privacy}","received_events_url":"https://api.github.com/users/gantry/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gantry/gantry5","description":":rocket: Next Generation Template / Theme Framework","fork":false,"url":"https://api.github.com/repos/gantry/gantry5","forks_url":"https://api.github.com/repos/gantry/gantry5/forks","keys_url":"https://api.github.com/repos/gantry/gantry5/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gantry/gantry5/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gantry/gantry5/teams","hooks_url":"https://api.github.com/repos/gantry/gantry5/hooks","issue_events_url":"https://api.github.com/repos/gantry/gantry5/issues/events{/number}","events_url":"https://api.github.com/repos/gantry/gantry5/events","assignees_url":"https://api.github.com/repos/gantry/gantry5/assignees{/user}","branches_url":"https://api.github.com/repos/gantry/gantry5/branches{/branch}","tags_url":"https://api.github.com/repos/gantry/gantry5/tags","blobs_url":"https://api.github.com/repos/gantry/gantry5/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gantry/gantry5/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gantry/gantry5/git/refs{/sha}","trees_url":"https://api.github.com/repos/gantry/gantry5/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gantry/gantry5/statuses/{sha}","languages_url":"https://api.github.com/repos/gantry/gantry5/languages","stargazers_url":"https://api.github.com/repos/gantry/gantry5/stargazers","contributors_url":"https://api.github.com/repos/gantry/gantry5/contributors","subscribers_url":"https://api.github.com/repos/gantry/gantry5/subscribers","subscription_url":"https://api.github.com/repos/gantry/gantry5/subscription","commits_url":"https://api.github.com/repos/gantry/gantry5/commits{/sha}","git_commits_url":"https://api.github.com/repos/gantry/gantry5/git/commits{/sha}","comments_url":"https://api.github.com/repos/gantry/gantry5/comments{/number}","issue_comment_url":"https://api.github.com/repos/gantry/gantry5/issues/comments{/number}","contents_url":"https://api.github.com/repos/gantry/gantry5/contents/{+path}","compare_url":"https://api.github.com/repos/gantry/gantry5/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gantry/gantry5/merges","archive_url":"https://api.github.com/repos/gantry/gantry5/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gantry/gantry5/downloads","issues_url":"https://api.github.com/repos/gantry/gantry5/issues{/number}","pulls_url":"https://api.github.com/repos/gantry/gantry5/pulls{/number}","milestones_url":"https://api.github.com/repos/gantry/gantry5/milestones{/number}","notifications_url":"https://api.github.com/repos/gantry/gantry5/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gantry/gantry5/labels{/name}","releases_url":"https://api.github.com/repos/gantry/gantry5/releases{/id}","deployments_url":"https://api.github.com/repos/gantry/gantry5/deployments","created_at":"2015-03-27T16:28:55Z","updated_at":"2016-09-18T08:40:41Z","pushed_at":"2016-09-25T19:08:01Z","git_url":"git://github.com/gantry/gantry5.git","ssh_url":"git@github.com:gantry/gantry5.git","clone_url":"https://github.com/gantry/gantry5.git","svn_url":"https://github.com/gantry/gantry5","homepage":"http://gantry.org","size":65260,"stargazers_count":440,"watchers_count":440,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":95,"mirror_url":null,"open_issues_count":121,"forks":95,"open_issues":121,"watchers":440,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/gantry/gantry5/pulls/1591"},"html":{"href":"https://github.com/gantry/gantry5/pull/1591"},"issue":{"href":"https://api.github.com/repos/gantry/gantry5/issues/1591"},"comments":{"href":"https://api.github.com/repos/gantry/gantry5/issues/1591/comments"},"review_comments":{"href":"https://api.github.com/repos/gantry/gantry5/pulls/1591/comments"},"review_comment":{"href":"https://api.github.com/repos/gantry/gantry5/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gantry/gantry5/pulls/1591/commits"},"statuses":{"href":"https://api.github.com/repos/gantry/gantry5/statuses/03411107f4b9e840ec6f859d3ed210e878c0bb55"}}}}
{"actor":{"display_login":"w00fz"}}