{"action":"opened","number":362,"pull_request":{"url":"https://api.github.com/repos/algolia/algoliasearch-magento/pulls/362","id":67371596,"html_url":"https://github.com/algolia/algoliasearch-magento/pull/362","diff_url":"https://github.com/algolia/algoliasearch-magento/pull/362.diff","patch_url":"https://github.com/algolia/algoliasearch-magento/pull/362.patch","issue_url":"https://api.github.com/repos/algolia/algoliasearch-magento/issues/362","number":362,"state":"open","locked":false,"title":"Only get attributes for products that are enabled","user":{"login":"PhilipRowe","id":2877463,"avatar_url":"https://avatars.githubusercontent.com/u/2877463?v=3","gravatar_id":"","url":"https://api.github.com/users/PhilipRowe","html_url":"https://github.com/PhilipRowe","followers_url":"https://api.github.com/users/PhilipRowe/followers","following_url":"https://api.github.com/users/PhilipRowe/following{/other_user}","gists_url":"https://api.github.com/users/PhilipRowe/gists{/gist_id}","starred_url":"https://api.github.com/users/PhilipRowe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PhilipRowe/subscriptions","organizations_url":"https://api.github.com/users/PhilipRowe/orgs","repos_url":"https://api.github.com/users/PhilipRowe/repos","events_url":"https://api.github.com/users/PhilipRowe/events{/privacy}","received_events_url":"https://api.github.com/users/PhilipRowe/received_events","type":"User","site_admin":false},"body":"When adding additional sections like brands some attributes are shown that are only against products that are disabled so will never have any results in the search","created_at":"2016-04-21T15:14:16Z","updated_at":"2016-04-21T15:14:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/algolia/algoliasearch-magento/pulls/362/commits","review_comments_url":"https://api.github.com/repos/algolia/algoliasearch-magento/pulls/362/comments","review_comment_url":"https://api.github.com/repos/algolia/algoliasearch-magento/pulls/comments{/number}","comments_url":"https://api.github.com/repos/algolia/algoliasearch-magento/issues/362/comments","statuses_url":"https://api.github.com/repos/algolia/algoliasearch-magento/statuses/648a4b8270ddc9aa5ded216e20b2841491b04438","head":{"label":"PhilipRowe:patch-1","ref":"patch-1","sha":"648a4b8270ddc9aa5ded216e20b2841491b04438","user":{"login":"PhilipRowe","id":2877463,"avatar_url":"https://avatars.githubusercontent.com/u/2877463?v=3","gravatar_id":"","url":"https://api.github.com/users/PhilipRowe","html_url":"https://github.com/PhilipRowe","followers_url":"https://api.github.com/users/PhilipRowe/followers","following_url":"https://api.github.com/users/PhilipRowe/following{/other_user}","gists_url":"https://api.github.com/users/PhilipRowe/gists{/gist_id}","starred_url":"https://api.github.com/users/PhilipRowe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PhilipRowe/subscriptions","organizations_url":"https://api.github.com/users/PhilipRowe/orgs","repos_url":"https://api.github.com/users/PhilipRowe/repos","events_url":"https://api.github.com/users/PhilipRowe/events{/privacy}","received_events_url":"https://api.github.com/users/PhilipRowe/received_events","type":"User","site_admin":false},"repo":{"id":56756969,"name":"algoliasearch-magento","full_name":"PhilipRowe/algoliasearch-magento","owner":{"login":"PhilipRowe","id":2877463,"avatar_url":"https://avatars.githubusercontent.com/u/2877463?v=3","gravatar_id":"","url":"https://api.github.com/users/PhilipRowe","html_url":"https://github.com/PhilipRowe","followers_url":"https://api.github.com/users/PhilipRowe/followers","following_url":"https://api.github.com/users/PhilipRowe/following{/other_user}","gists_url":"https://api.github.com/users/PhilipRowe/gists{/gist_id}","starred_url":"https://api.github.com/users/PhilipRowe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PhilipRowe/subscriptions","organizations_url":"https://api.github.com/users/PhilipRowe/orgs","repos_url":"https://api.github.com/users/PhilipRowe/repos","events_url":"https://api.github.com/users/PhilipRowe/events{/privacy}","received_events_url":"https://api.github.com/users/PhilipRowe/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/PhilipRowe/algoliasearch-magento","description":"Magento AlgoliaSearch integration","fork":true,"url":"https://api.github.com/repos/PhilipRowe/algoliasearch-magento","forks_url":"https://api.github.com/repos/PhilipRowe/algoliasearch-magento/forks","keys_url":"https://api.github.com/repos/PhilipRowe/algoliasearch-magento/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PhilipRowe/algoliasearch-magento/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PhilipRowe/algoliasearch-magento/teams","hooks_url":"https://api.github.com/repos/PhilipRowe/algoliasearch-magento/hooks","issue_events_url":"https://api.github.com/repos/PhilipRowe/algoliasearch-magento/issues/events{/number}","events_url":"https://api.github.com/repos/PhilipRowe/algoliasearch-magento/events","assignees_url":"https://api.github.com/repos/PhilipRowe/algoliasearch-magento/assignees{/user}","branches_url":"https://api.github.com/repos/PhilipRowe/algoliasearch-magento/branches{/branch}","tags_url":"https://api.github.com/repos/PhilipRowe/algoliasearch-magento/tags","blobs_url":"https://api.github.com/repos/PhilipRowe/algoliasearch-magento/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PhilipRowe/algoliasearch-magento/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PhilipRowe/algoliasearch-magento/git/refs{/sha}","trees_url":"https://api.github.com/repos/PhilipRowe/algoliasearch-magento/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PhilipRowe/algoliasearch-magento/statuses/{sha}","languages_url":"https://api.github.com/repos/PhilipRowe/algoliasearch-magento/languages","stargazers_url":"https://api.github.com/repos/PhilipRowe/algoliasearch-magento/stargazers","contributors_url":"https://api.github.com/repos/PhilipRowe/algoliasearch-magento/contributors","subscribers_url":"https://api.github.com/repos/PhilipRowe/algoliasearch-magento/subscribers","subscription_url":"https://api.github.com/repos/PhilipRowe/algoliasearch-magento/subscription","commits_url":"https://api.github.com/repos/PhilipRowe/algoliasearch-magento/commits{/sha}","git_commits_url":"https://api.github.com/repos/PhilipRowe/algoliasearch-magento/git/commits{/sha}","comments_url":"https://api.github.com/repos/PhilipRowe/algoliasearch-magento/comments{/number}","issue_comment_url":"https://api.github.com/repos/PhilipRowe/algoliasearch-magento/issues/comments{/number}","contents_url":"https://api.github.com/repos/PhilipRowe/algoliasearch-magento/contents/{+path}","compare_url":"https://api.github.com/repos/PhilipRowe/algoliasearch-magento/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PhilipRowe/algoliasearch-magento/merges","archive_url":"https://api.github.com/repos/PhilipRowe/algoliasearch-magento/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PhilipRowe/algoliasearch-magento/downloads","issues_url":"https://api.github.com/repos/PhilipRowe/algoliasearch-magento/issues{/number}","pulls_url":"https://api.github.com/repos/PhilipRowe/algoliasearch-magento/pulls{/number}","milestones_url":"https://api.github.com/repos/PhilipRowe/algoliasearch-magento/milestones{/number}","notifications_url":"https://api.github.com/repos/PhilipRowe/algoliasearch-magento/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PhilipRowe/algoliasearch-magento/labels{/name}","releases_url":"https://api.github.com/repos/PhilipRowe/algoliasearch-magento/releases{/id}","deployments_url":"https://api.github.com/repos/PhilipRowe/algoliasearch-magento/deployments","created_at":"2016-04-21T08:38:17Z","updated_at":"2016-04-21T08:38:19Z","pushed_at":"2016-04-21T15:14:12Z","git_url":"git://github.com/PhilipRowe/algoliasearch-magento.git","ssh_url":"git@github.com:PhilipRowe/algoliasearch-magento.git","clone_url":"https://github.com/PhilipRowe/algoliasearch-magento.git","svn_url":"https://github.com/PhilipRowe/algoliasearch-magento","homepage":"https://community.algolia.com/magento","size":58691,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"algolia:develop","ref":"develop","sha":"c7395a2d5b34a2bae4c7b546bf20570cf4c35585","user":{"login":"algolia","id":2034458,"avatar_url":"https://avatars.githubusercontent.com/u/2034458?v=3","gravatar_id":"","url":"https://api.github.com/users/algolia","html_url":"https://github.com/algolia","followers_url":"https://api.github.com/users/algolia/followers","following_url":"https://api.github.com/users/algolia/following{/other_user}","gists_url":"https://api.github.com/users/algolia/gists{/gist_id}","starred_url":"https://api.github.com/users/algolia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/algolia/subscriptions","organizations_url":"https://api.github.com/users/algolia/orgs","repos_url":"https://api.github.com/users/algolia/repos","events_url":"https://api.github.com/users/algolia/events{/privacy}","received_events_url":"https://api.github.com/users/algolia/received_events","type":"Organization","site_admin":false},"repo":{"id":16968096,"name":"algoliasearch-magento","full_name":"algolia/algoliasearch-magento","owner":{"login":"algolia","id":2034458,"avatar_url":"https://avatars.githubusercontent.com/u/2034458?v=3","gravatar_id":"","url":"https://api.github.com/users/algolia","html_url":"https://github.com/algolia","followers_url":"https://api.github.com/users/algolia/followers","following_url":"https://api.github.com/users/algolia/following{/other_user}","gists_url":"https://api.github.com/users/algolia/gists{/gist_id}","starred_url":"https://api.github.com/users/algolia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/algolia/subscriptions","organizations_url":"https://api.github.com/users/algolia/orgs","repos_url":"https://api.github.com/users/algolia/repos","events_url":"https://api.github.com/users/algolia/events{/privacy}","received_events_url":"https://api.github.com/users/algolia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/algolia/algoliasearch-magento","description":"Magento AlgoliaSearch integration","fork":false,"url":"https://api.github.com/repos/algolia/algoliasearch-magento","forks_url":"https://api.github.com/repos/algolia/algoliasearch-magento/forks","keys_url":"https://api.github.com/repos/algolia/algoliasearch-magento/keys{/key_id}","collaborators_url":"https://api.github.com/repos/algolia/algoliasearch-magento/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/algolia/algoliasearch-magento/teams","hooks_url":"https://api.github.com/repos/algolia/algoliasearch-magento/hooks","issue_events_url":"https://api.github.com/repos/algolia/algoliasearch-magento/issues/events{/number}","events_url":"https://api.github.com/repos/algolia/algoliasearch-magento/events","assignees_url":"https://api.github.com/repos/algolia/algoliasearch-magento/assignees{/user}","branches_url":"https://api.github.com/repos/algolia/algoliasearch-magento/branches{/branch}","tags_url":"https://api.github.com/repos/algolia/algoliasearch-magento/tags","blobs_url":"https://api.github.com/repos/algolia/algoliasearch-magento/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/algolia/algoliasearch-magento/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/algolia/algoliasearch-magento/git/refs{/sha}","trees_url":"https://api.github.com/repos/algolia/algoliasearch-magento/git/trees{/sha}","statuses_url":"https://api.github.com/repos/algolia/algoliasearch-magento/statuses/{sha}","languages_url":"https://api.github.com/repos/algolia/algoliasearch-magento/languages","stargazers_url":"https://api.github.com/repos/algolia/algoliasearch-magento/stargazers","contributors_url":"https://api.github.com/repos/algolia/algoliasearch-magento/contributors","subscribers_url":"https://api.github.com/repos/algolia/algoliasearch-magento/subscribers","subscription_url":"https://api.github.com/repos/algolia/algoliasearch-magento/subscription","commits_url":"https://api.github.com/repos/algolia/algoliasearch-magento/commits{/sha}","git_commits_url":"https://api.github.com/repos/algolia/algoliasearch-magento/git/commits{/sha}","comments_url":"https://api.github.com/repos/algolia/algoliasearch-magento/comments{/number}","issue_comment_url":"https://api.github.com/repos/algolia/algoliasearch-magento/issues/comments{/number}","contents_url":"https://api.github.com/repos/algolia/algoliasearch-magento/contents/{+path}","compare_url":"https://api.github.com/repos/algolia/algoliasearch-magento/compare/{base}...{head}","merges_url":"https://api.github.com/repos/algolia/algoliasearch-magento/merges","archive_url":"https://api.github.com/repos/algolia/algoliasearch-magento/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/algolia/algoliasearch-magento/downloads","issues_url":"https://api.github.com/repos/algolia/algoliasearch-magento/issues{/number}","pulls_url":"https://api.github.com/repos/algolia/algoliasearch-magento/pulls{/number}","milestones_url":"https://api.github.com/repos/algolia/algoliasearch-magento/milestones{/number}","notifications_url":"https://api.github.com/repos/algolia/algoliasearch-magento/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/algolia/algoliasearch-magento/labels{/name}","releases_url":"https://api.github.com/repos/algolia/algoliasearch-magento/releases{/id}","deployments_url":"https://api.github.com/repos/algolia/algoliasearch-magento/deployments","created_at":"2014-02-18T23:49:42Z","updated_at":"2016-04-15T16:02:41Z","pushed_at":"2016-04-21T10:12:45Z","git_url":"git://github.com/algolia/algoliasearch-magento.git","ssh_url":"git@github.com:algolia/algoliasearch-magento.git","clone_url":"https://github.com/algolia/algoliasearch-magento.git","svn_url":"https://github.com/algolia/algoliasearch-magento","homepage":"https://community.algolia.com/magento","size":59204,"stargazers_count":82,"watchers_count":82,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":55,"mirror_url":null,"open_issues_count":17,"forks":55,"open_issues":17,"watchers":82,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/algolia/algoliasearch-magento/pulls/362"},"html":{"href":"https://github.com/algolia/algoliasearch-magento/pull/362"},"issue":{"href":"https://api.github.com/repos/algolia/algoliasearch-magento/issues/362"},"comments":{"href":"https://api.github.com/repos/algolia/algoliasearch-magento/issues/362/comments"},"review_comments":{"href":"https://api.github.com/repos/algolia/algoliasearch-magento/pulls/362/comments"},"review_comment":{"href":"https://api.github.com/repos/algolia/algoliasearch-magento/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/algolia/algoliasearch-magento/pulls/362/commits"},"statuses":{"href":"https://api.github.com/repos/algolia/algoliasearch-magento/statuses/648a4b8270ddc9aa5ded216e20b2841491b04438"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":1,"changed_files":1}}