{"action":"created","issue":{"url":"https://api.github.com/repos/woothemes/woocommerce/issues/11974","repository_url":"https://api.github.com/repos/woothemes/woocommerce","labels_url":"https://api.github.com/repos/woothemes/woocommerce/issues/11974/labels{/name}","comments_url":"https://api.github.com/repos/woothemes/woocommerce/issues/11974/comments","events_url":"https://api.github.com/repos/woothemes/woocommerce/issues/11974/events","html_url":"https://github.com/woothemes/woocommerce/issues/11974","id":179297598,"number":11974,"title":"Customers endpoint - date filtering no longer works (including legacy endpoints)","user":{"login":"rfink","id":108414,"avatar_url":"https://avatars.githubusercontent.com/u/108414?v=3","gravatar_id":"","url":"https://api.github.com/users/rfink","html_url":"https://github.com/rfink","followers_url":"https://api.github.com/users/rfink/followers","following_url":"https://api.github.com/users/rfink/following{/other_user}","gists_url":"https://api.github.com/users/rfink/gists{/gist_id}","starred_url":"https://api.github.com/users/rfink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rfink/subscriptions","organizations_url":"https://api.github.com/users/rfink/orgs","repos_url":"https://api.github.com/users/rfink/repos","events_url":"https://api.github.com/users/rfink/events{/privacy}","received_events_url":"https://api.github.com/users/rfink/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2016-09-26T18:06:04Z","updated_at":"2016-09-27T22:06:08Z","closed_at":"2016-09-27T17:29:21Z","body":"## EXPLANATION OF THE ISSUE\r\n\r\nHello,\r\n\r\nWe are consumers of the WooCommerce API, and up until version 2.6, we were able to provide the \"created_at_min\" and \"created_at_max\" filters to the query string, and have it apply the filter to the query (and only return customers created in that range).  As of 2.6, this functionality no longer appears to work (in both the new v1, as well as legacy v2 and legacy v3).  We now receive the entire customer set on every query, regardless of those filters.  We've also tried date_created_min and date_created_max, as well as \"after\" and \"before\", to no avail.  This is a significant issue for 3rd party integrations who rely on being able to query customers by date.\r\n\r\n<!-- What happens, under which versions, under what conditions, when, and what were you expecting instead. -->\r\n\r\n## STEPS TO REPRODUCE THE ISSUE\r\n\r\nQuery the legacy (v2 or v3) customers endpoint with \"filter[created_at_min]=2016-01-01&filter[created_at_max]=2016-01-01\", and the new v1 endpoint with the same, or \"filter[date_created_min]=2016-01-01&filter[date_created_max]=2016-01-01\", and check the created dates of the customers (they were not filtered).\r\n\r\n<!-- 1. List steps to reproduce your issue so we can replicate. -->\r\n\r\n## SYSTEM STATUS REPORT\r\n\r\n```\r\nGrab the system status report from WooCommerce > System Status and paste it here.\r\n```\r\n\r\nUnavailable\r\n\r\n<!--\r\nBEFORE POSTING YOUR ISSUE\r\n- These comments won't show up when you submit the issue.\r\n- Try to add as much detail as possible. Be specific!\r\n- GitHub issues ARE NOT FOR SUPPORT! If you have questions, use the either:\r\n  - https://wordpress.org/support/plugin/woocommerce for general support\r\n  - https://woocommerce.com/my-account/tickets/ for premium plugin support\r\n- If you're requesting a new feature, explain why you'd like it to be added.\r\n- Search this repository (top of the page) for the issue and it has not been fixed or reported already.\r\n\r\nBefore logging BUGS, ensure you:\r\n- Use the latest stable release of WooCommerce.\r\n- Disabled all plugins to ensure it's a core bug and not a plugin issue.\r\n- Switched to Twenty Twelve theme to ensure it's a core bug and not a theme issue.\r\n-->\r\n"},"comment":{"url":"https://api.github.com/repos/woothemes/woocommerce/issues/comments/250013360","html_url":"https://github.com/woothemes/woocommerce/issues/11974#issuecomment-250013360","issue_url":"https://api.github.com/repos/woothemes/woocommerce/issues/11974","id":250013360,"user":{"login":"rfink","id":108414,"avatar_url":"https://avatars.githubusercontent.com/u/108414?v=3","gravatar_id":"","url":"https://api.github.com/users/rfink","html_url":"https://github.com/rfink","followers_url":"https://api.github.com/users/rfink/followers","following_url":"https://api.github.com/users/rfink/following{/other_user}","gists_url":"https://api.github.com/users/rfink/gists{/gist_id}","starred_url":"https://api.github.com/users/rfink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rfink/subscriptions","organizations_url":"https://api.github.com/users/rfink/orgs","repos_url":"https://api.github.com/users/rfink/repos","events_url":"https://api.github.com/users/rfink/events{/privacy}","received_events_url":"https://api.github.com/users/rfink/received_events","type":"User","site_admin":false},"created_at":"2016-09-27T22:06:08Z","updated_at":"2016-09-27T22:06:08Z","body":"Got it - it's 4.6.1"}}
{"actor":{"display_login":"rfink"}}