{"action":"created","issue":{"url":"https://api.github.com/repos/sphereio/sphere-node-product-csv-sync/issues/94","labels_url":"https://api.github.com/repos/sphereio/sphere-node-product-csv-sync/issues/94/labels{/name}","comments_url":"https://api.github.com/repos/sphereio/sphere-node-product-csv-sync/issues/94/comments","events_url":"https://api.github.com/repos/sphereio/sphere-node-product-csv-sync/issues/94/events","html_url":"https://github.com/sphereio/sphere-node-product-csv-sync/issues/94","id":109840033,"number":94,"title":"Query for productType in csv export not working properly","user":{"login":"CT-Szilvia","id":1931512,"avatar_url":"https://avatars.githubusercontent.com/u/1931512?v=3","gravatar_id":"","url":"https://api.github.com/users/CT-Szilvia","html_url":"https://github.com/CT-Szilvia","followers_url":"https://api.github.com/users/CT-Szilvia/followers","following_url":"https://api.github.com/users/CT-Szilvia/following{/other_user}","gists_url":"https://api.github.com/users/CT-Szilvia/gists{/gist_id}","starred_url":"https://api.github.com/users/CT-Szilvia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CT-Szilvia/subscriptions","organizations_url":"https://api.github.com/users/CT-Szilvia/orgs","repos_url":"https://api.github.com/users/CT-Szilvia/repos","events_url":"https://api.github.com/users/CT-Szilvia/events{/privacy}","received_events_url":"https://api.github.com/users/CT-Szilvia/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sphereio/sphere-node-product-csv-sync/labels/ready","name":"ready","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-10-05T16:49:24Z","updated_at":"2015-12-14T10:04:47Z","closed_at":null,"body":"Hi all, \r\n\r\nif I try to export products with a query  for the productType \"product\" with id=c090421b-207b-4c24-b3da-2b978279746d with following command:\r\n1st try: \r\n./bin/product-csv-sync export --projectKey \"xxx\" --clientId \"xxx\" --clientSecret \"xxx\" --queryString 'where=productType(id=\"c090421b-207b-4c24-b3da-2b978279746d\")' --fillAllRows  --template \"template.csv\" --out product.csv\r\n\r\n2nd try: \r\n./bin/product-csv-sync export --projectKey \"xxx\" --clientId \"xxx\" --clientSecret \"xxx\" --queryString 'where=productType(id%3D%22c090421b-207b-4c24-b3da-2b978279746d%22)' --queryEncoded --fillAllRows  --template \"template.csv\" --out product.csv\r\n\r\n\r\nI get following message: \r\nFetched 2 product type(s).\r\nFetched 20 product(s).\r\nFetched 20 product(s).\r\nFetched 20 product(s).\r\nFetched 20 product(s).\r\nFetched 19 product(s).\r\nExport done.\r\nSo it exports both productTypes. Could you please take a look? \r\n\r\nThanks, \r\nSzilvia"},"comment":{"url":"https://api.github.com/repos/sphereio/sphere-node-product-csv-sync/issues/comments/164396331","html_url":"https://github.com/sphereio/sphere-node-product-csv-sync/issues/94#issuecomment-164396331","issue_url":"https://api.github.com/repos/sphereio/sphere-node-product-csv-sync/issues/94","id":164396331,"user":{"login":"CT-Szilvia","id":1931512,"avatar_url":"https://avatars.githubusercontent.com/u/1931512?v=3","gravatar_id":"","url":"https://api.github.com/users/CT-Szilvia","html_url":"https://github.com/CT-Szilvia","followers_url":"https://api.github.com/users/CT-Szilvia/followers","following_url":"https://api.github.com/users/CT-Szilvia/following{/other_user}","gists_url":"https://api.github.com/users/CT-Szilvia/gists{/gist_id}","starred_url":"https://api.github.com/users/CT-Szilvia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CT-Szilvia/subscriptions","organizations_url":"https://api.github.com/users/CT-Szilvia/orgs","repos_url":"https://api.github.com/users/CT-Szilvia/repos","events_url":"https://api.github.com/users/CT-Szilvia/events{/privacy}","received_events_url":"https://api.github.com/users/CT-Szilvia/received_events","type":"User","site_admin":false},"created_at":"2015-12-14T10:04:47Z","updated_at":"2015-12-14T10:04:47Z","body":"Hi @PhilippSpo & @hajoeichler last week I could use the query. So I think yes, but maybe @sebbulon can tell you more?\r\n"}}