{"action":"created","issue":{"url":"https://api.github.com/repos/nozzlegear/ShopifySharp/issues/17","labels_url":"https://api.github.com/repos/nozzlegear/ShopifySharp/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/nozzlegear/ShopifySharp/issues/17/comments","events_url":"https://api.github.com/repos/nozzlegear/ShopifySharp/issues/17/events","html_url":"https://github.com/nozzlegear/ShopifySharp/issues/17","id":118721082,"number":17,"title":"ShopifyListFilterOptions does not properly filter to specific order ids.","user":{"login":"nozzlegear","id":2417276,"avatar_url":"https://avatars.githubusercontent.com/u/2417276?v=3","gravatar_id":"","url":"https://api.github.com/users/nozzlegear","html_url":"https://github.com/nozzlegear","followers_url":"https://api.github.com/users/nozzlegear/followers","following_url":"https://api.github.com/users/nozzlegear/following{/other_user}","gists_url":"https://api.github.com/users/nozzlegear/gists{/gist_id}","starred_url":"https://api.github.com/users/nozzlegear/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nozzlegear/subscriptions","organizations_url":"https://api.github.com/users/nozzlegear/orgs","repos_url":"https://api.github.com/users/nozzlegear/repos","events_url":"https://api.github.com/users/nozzlegear/events{/privacy}","received_events_url":"https://api.github.com/users/nozzlegear/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nozzlegear/ShopifySharp/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-24T22:52:50Z","updated_at":"2015-11-25T02:44:53Z","closed_at":"2015-11-25T02:43:29Z","body":"The `ShopifyListFilterOptions` class has broken (or been broken). When trying to count or list orders that are filtered to specific ids, `ShopifyOrderService` will send out a URL that looks like this:\r\n\r\n```\r\nhttps://my-shop.myshopify.com/admin/orders.json?Ids=System.Collections.Generic.List%601%5BSystem.Int64%5D&status=any&limit=250&page=1&fields=id%2Cnote\r\n```\r\n\r\nThere are two problems here:\r\n\r\n1. Obviously, the list of ids isn't being serialized.\r\n2. The `Ids` parameter should be `ids`. "},"comment":{"url":"https://api.github.com/repos/nozzlegear/ShopifySharp/issues/comments/159471011","html_url":"https://github.com/nozzlegear/ShopifySharp/issues/17#issuecomment-159471011","issue_url":"https://api.github.com/repos/nozzlegear/ShopifySharp/issues/17","id":159471011,"user":{"login":"nozzlegear","id":2417276,"avatar_url":"https://avatars.githubusercontent.com/u/2417276?v=3","gravatar_id":"","url":"https://api.github.com/users/nozzlegear","html_url":"https://github.com/nozzlegear","followers_url":"https://api.github.com/users/nozzlegear/followers","following_url":"https://api.github.com/users/nozzlegear/following{/other_user}","gists_url":"https://api.github.com/users/nozzlegear/gists{/gist_id}","starred_url":"https://api.github.com/users/nozzlegear/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nozzlegear/subscriptions","organizations_url":"https://api.github.com/users/nozzlegear/orgs","repos_url":"https://api.github.com/users/nozzlegear/repos","events_url":"https://api.github.com/users/nozzlegear/events{/privacy}","received_events_url":"https://api.github.com/users/nozzlegear/received_events","type":"User","site_admin":false},"created_at":"2015-11-25T02:44:53Z","updated_at":"2015-11-25T02:44:53Z","body":"This bug was also affecting `ShopifyProductService.ListAsync` and `ShopifyProductService.CountAsync`. Fixed it by creating and overriding a `Parameterizable.ToSingleParameter` method for both `ShopifyOrderFilterOptions` and `ShopifyProductFilterOptions` that specifically looks for the `Ids` property and converts it to a querystring value when parameterizing."}}