{"action":"created","issue":{"url":"https://api.github.com/repos/woothemes/woocommerce/issues/11145","repository_url":"https://api.github.com/repos/woothemes/woocommerce","labels_url":"https://api.github.com/repos/woothemes/woocommerce/issues/11145/labels{/name}","comments_url":"https://api.github.com/repos/woothemes/woocommerce/issues/11145/comments","events_url":"https://api.github.com/repos/woothemes/woocommerce/issues/11145/events","html_url":"https://github.com/woothemes/woocommerce/pull/11145","id":160455074,"number":11145,"title":"Helpers for filter counts","user":{"login":"jamesckemp","id":1853915,"avatar_url":"https://avatars.githubusercontent.com/u/1853915?v=3","gravatar_id":"","url":"https://api.github.com/users/jamesckemp","html_url":"https://github.com/jamesckemp","followers_url":"https://api.github.com/users/jamesckemp/followers","following_url":"https://api.github.com/users/jamesckemp/following{/other_user}","gists_url":"https://api.github.com/users/jamesckemp/gists{/gist_id}","starred_url":"https://api.github.com/users/jamesckemp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamesckemp/subscriptions","organizations_url":"https://api.github.com/users/jamesckemp/orgs","repos_url":"https://api.github.com/users/jamesckemp/repos","events_url":"https://api.github.com/users/jamesckemp/events{/privacy}","received_events_url":"https://api.github.com/users/jamesckemp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-06-15T15:41:34Z","updated_at":"2016-06-15T16:09:15Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/woothemes/woocommerce/pulls/11145","html_url":"https://github.com/woothemes/woocommerce/pull/11145","diff_url":"https://github.com/woothemes/woocommerce/pull/11145.diff","patch_url":"https://github.com/woothemes/woocommerce/pull/11145.patch"},"body":"I've done 2 things here (as per our conversations earlier today):\r\n\r\n1. Made it use the post_types set in the main query.\r\n2. Added a filter to the \"where\" clause. This means I can hook in and add and additional parameter to the where clause to exclude specific posts.\r\n\r\nDoing the above has fixed any filter count issues I have, seemingly. I'd really appreciate it if we can do this (or similar)."},"comment":{"url":"https://api.github.com/repos/woothemes/woocommerce/issues/comments/226237108","html_url":"https://github.com/woothemes/woocommerce/pull/11145#issuecomment-226237108","issue_url":"https://api.github.com/repos/woothemes/woocommerce/issues/11145","id":226237108,"user":{"login":"jamesckemp","id":1853915,"avatar_url":"https://avatars.githubusercontent.com/u/1853915?v=3","gravatar_id":"","url":"https://api.github.com/users/jamesckemp","html_url":"https://github.com/jamesckemp","followers_url":"https://api.github.com/users/jamesckemp/followers","following_url":"https://api.github.com/users/jamesckemp/following{/other_user}","gists_url":"https://api.github.com/users/jamesckemp/gists{/gist_id}","starred_url":"https://api.github.com/users/jamesckemp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamesckemp/subscriptions","organizations_url":"https://api.github.com/users/jamesckemp/orgs","repos_url":"https://api.github.com/users/jamesckemp/repos","events_url":"https://api.github.com/users/jamesckemp/events{/privacy}","received_events_url":"https://api.github.com/users/jamesckemp/received_events","type":"User","site_admin":false},"created_at":"2016-06-15T16:09:14Z","updated_at":"2016-06-15T16:09:14Z","body":"@mikejolley Feedback implemented"}}
{"actor":{"display_login":"jamesckemp"}}