{"action":"created","issue":{"url":"https://api.github.com/repos/solidusio/solidus/issues/240","labels_url":"https://api.github.com/repos/solidusio/solidus/issues/240/labels{/name}","comments_url":"https://api.github.com/repos/solidusio/solidus/issues/240/comments","events_url":"https://api.github.com/repos/solidusio/solidus/issues/240/events","html_url":"https://github.com/solidusio/solidus/pull/240","id":98233792,"number":240,"title":"Use admin api path for product search in promo","user":{"login":"exsuzme","id":6335041,"avatar_url":"https://avatars.githubusercontent.com/u/6335041?v=3","gravatar_id":"","url":"https://api.github.com/users/exsuzme","html_url":"https://github.com/exsuzme","followers_url":"https://api.github.com/users/exsuzme/followers","following_url":"https://api.github.com/users/exsuzme/following{/other_user}","gists_url":"https://api.github.com/users/exsuzme/gists{/gist_id}","starred_url":"https://api.github.com/users/exsuzme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/exsuzme/subscriptions","organizations_url":"https://api.github.com/users/exsuzme/orgs","repos_url":"https://api.github.com/users/exsuzme/repos","events_url":"https://api.github.com/users/exsuzme/events{/privacy}","received_events_url":"https://api.github.com/users/exsuzme/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-30T18:39:27Z","updated_at":"2015-07-30T21:27:24Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/solidusio/solidus/pulls/240","html_url":"https://github.com/solidusio/solidus/pull/240","diff_url":"https://github.com/solidusio/solidus/pull/240.diff","patch_url":"https://github.com/solidusio/solidus/pull/240.patch"},"body":"Spree was pointing to the admin/products search endpoint and somehow with the Solidus upgrade we started using the api/products endpoint instead, which was timing out. This just reverts back to the admin/products api for faster performance on product search."},"comment":{"url":"https://api.github.com/repos/solidusio/solidus/issues/comments/126495527","html_url":"https://github.com/solidusio/solidus/pull/240#issuecomment-126495527","issue_url":"https://api.github.com/repos/solidusio/solidus/issues/240","id":126495527,"user":{"login":"jhawthorn","id":131752,"avatar_url":"https://avatars.githubusercontent.com/u/131752?v=3","gravatar_id":"","url":"https://api.github.com/users/jhawthorn","html_url":"https://github.com/jhawthorn","followers_url":"https://api.github.com/users/jhawthorn/followers","following_url":"https://api.github.com/users/jhawthorn/following{/other_user}","gists_url":"https://api.github.com/users/jhawthorn/gists{/gist_id}","starred_url":"https://api.github.com/users/jhawthorn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhawthorn/subscriptions","organizations_url":"https://api.github.com/users/jhawthorn/orgs","repos_url":"https://api.github.com/users/jhawthorn/repos","events_url":"https://api.github.com/users/jhawthorn/events{/privacy}","received_events_url":"https://api.github.com/users/jhawthorn/received_events","type":"User","site_admin":false},"created_at":"2015-07-30T21:27:24Z","updated_at":"2015-07-30T21:27:24Z","body":"`api/products` is slow because it displays taxons, variants, images, **stock levels**.\r\n\r\n:+1: for now this is a good performance fix. I've created #244 to revisit this."}}