{"action":"opened","issue":{"url":"https://api.github.com/repos/wix-incubator/wix-restaurants-js-sdk/issues/13","repository_url":"https://api.github.com/repos/wix-incubator/wix-restaurants-js-sdk","labels_url":"https://api.github.com/repos/wix-incubator/wix-restaurants-js-sdk/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/wix-incubator/wix-restaurants-js-sdk/issues/13/comments","events_url":"https://api.github.com/repos/wix-incubator/wix-restaurants-js-sdk/issues/13/events","html_url":"https://github.com/wix-incubator/wix-restaurants-js-sdk/issues/13","id":313711702,"number":13,"title":"Search is not working for Chains","user":{"login":"tomerb15","id":14358353,"avatar_url":"https://avatars2.githubusercontent.com/u/14358353?v=4","gravatar_id":"","url":"https://api.github.com/users/tomerb15","html_url":"https://github.com/tomerb15","followers_url":"https://api.github.com/users/tomerb15/followers","following_url":"https://api.github.com/users/tomerb15/following{/other_user}","gists_url":"https://api.github.com/users/tomerb15/gists{/gist_id}","starred_url":"https://api.github.com/users/tomerb15/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomerb15/subscriptions","organizations_url":"https://api.github.com/users/tomerb15/orgs","repos_url":"https://api.github.com/users/tomerb15/repos","events_url":"https://api.github.com/users/tomerb15/events{/privacy}","received_events_url":"https://api.github.com/users/tomerb15/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-12T12:46:41Z","updated_at":"2018-04-12T12:46:41Z","closed_at":null,"author_association":"NONE","body":"1. We created a new chain with ID: 3738946338482897\r\n2. We added some rests underneath. For example, this rest: 6610813061096728\r\n3. We created in that rest a new delvery Area (just for the sake of changing something and saving)\r\n4. The following `search` call doesn't work:\r\n```\r\n{\r\n    \"type\":\"search\",\r\n    \"filter\":{\"chainId\":\"3738946338482897\"},\r\n    \"states\":[\"operational\"],\r\n    \"query\":null,\r\n    \"chargeTypes\":null,\r\n    \"fields\":[\"media\",\"orders\",\"features\",\"creditcardsInfo\",\"id\",\"openTimes\",\"deliveryTypes\",\"picture\",\"timezone\",\"maxFutureOrdersDelayMins\",\"address\",\"title\",\"locale\",\"deliveryInfos\",\"currency\"],\r\n    \"limit\":null,\r\n    \"excludeIds\":null,\r\n    \"radius\":null\r\n}\r\n```\r\nThe exact same search works with other old chain ids"}}
{"actor":{"display_login":"tomerb15"}}