{"action":"created","issue":{"url":"https://api.github.com/repos/BroadleafCommerce/BroadleafCommerce/issues/1289","labels_url":"https://api.github.com/repos/BroadleafCommerce/BroadleafCommerce/issues/1289/labels{/name}","comments_url":"https://api.github.com/repos/BroadleafCommerce/BroadleafCommerce/issues/1289/comments","events_url":"https://api.github.com/repos/BroadleafCommerce/BroadleafCommerce/issues/1289/events","html_url":"https://github.com/BroadleafCommerce/BroadleafCommerce/pull/1289","id":63828605,"number":1289,"title":"Test to ensure that product options are correctly sorted by displayOrder","user":{"login":"ncrum","id":3411402,"avatar_url":"https://avatars.githubusercontent.com/u/3411402?v=3","gravatar_id":"","url":"https://api.github.com/users/ncrum","html_url":"https://github.com/ncrum","followers_url":"https://api.github.com/users/ncrum/followers","following_url":"https://api.github.com/users/ncrum/following{/other_user}","gists_url":"https://api.github.com/users/ncrum/gists{/gist_id}","starred_url":"https://api.github.com/users/ncrum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ncrum/subscriptions","organizations_url":"https://api.github.com/users/ncrum/orgs","repos_url":"https://api.github.com/users/ncrum/repos","events_url":"https://api.github.com/users/ncrum/events{/privacy}","received_events_url":"https://api.github.com/users/ncrum/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/BroadleafCommerce/BroadleafCommerce/labels/difficulty-easy","name":"difficulty-easy","color":"fbca04"},{"url":"https://api.github.com/repos/BroadleafCommerce/BroadleafCommerce/labels/module-core","name":"module-core","color":"207de5"},{"url":"https://api.github.com/repos/BroadleafCommerce/BroadleafCommerce/labels/severity-minor","name":"severity-minor","color":"009800"},{"url":"https://api.github.com/repos/BroadleafCommerce/BroadleafCommerce/labels/type-bug","name":"type-bug","color":"e11d21"}],"state":"closed","locked":false,"assignee":{"login":"ncrum","id":3411402,"avatar_url":"https://avatars.githubusercontent.com/u/3411402?v=3","gravatar_id":"","url":"https://api.github.com/users/ncrum","html_url":"https://github.com/ncrum","followers_url":"https://api.github.com/users/ncrum/followers","following_url":"https://api.github.com/users/ncrum/following{/other_user}","gists_url":"https://api.github.com/users/ncrum/gists{/gist_id}","starred_url":"https://api.github.com/users/ncrum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ncrum/subscriptions","organizations_url":"https://api.github.com/users/ncrum/orgs","repos_url":"https://api.github.com/users/ncrum/repos","events_url":"https://api.github.com/users/ncrum/events{/privacy}","received_events_url":"https://api.github.com/users/ncrum/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/BroadleafCommerce/BroadleafCommerce/milestones/23","html_url":"https://github.com/BroadleafCommerce/BroadleafCommerce/milestones/4.0.0-GA","labels_url":"https://api.github.com/repos/BroadleafCommerce/BroadleafCommerce/milestones/23/labels","id":563246,"number":23,"title":"4.0.0-GA","description":"","creator":{"login":"phillipuniverse","id":684275,"avatar_url":"https://avatars.githubusercontent.com/u/684275?v=3","gravatar_id":"","url":"https://api.github.com/users/phillipuniverse","html_url":"https://github.com/phillipuniverse","followers_url":"https://api.github.com/users/phillipuniverse/followers","following_url":"https://api.github.com/users/phillipuniverse/following{/other_user}","gists_url":"https://api.github.com/users/phillipuniverse/gists{/gist_id}","starred_url":"https://api.github.com/users/phillipuniverse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phillipuniverse/subscriptions","organizations_url":"https://api.github.com/users/phillipuniverse/orgs","repos_url":"https://api.github.com/users/phillipuniverse/repos","events_url":"https://api.github.com/users/phillipuniverse/events{/privacy}","received_events_url":"https://api.github.com/users/phillipuniverse/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":137,"state":"open","created_at":"2014-02-08T22:10:33Z","updated_at":"2015-03-24T03:34:51Z","due_on":"2014-12-13T06:00:00Z","closed_at":null},"comments":7,"created_at":"2015-03-23T20:48:47Z","updated_at":"2015-03-24T03:58:16Z","closed_at":"2015-03-24T03:30:19Z","pull_request":{"url":"https://api.github.com/repos/BroadleafCommerce/BroadleafCommerce/pulls/1289","html_url":"https://github.com/BroadleafCommerce/BroadleafCommerce/pull/1289","diff_url":"https://github.com/BroadleafCommerce/BroadleafCommerce/pull/1289.diff","patch_url":"https://github.com/BroadleafCommerce/BroadleafCommerce/pull/1289.patch"},"body":"This pertains to issue BroadleafCommerce/QA#419.\r\nWhile testing the solution to this issue I found a small oversight where the method was returning productOptions list instead of the sorted list it had just created. \r\n\r\nHere are my steps:\r\n1. Create ProductSpec.groovy to test product options being returned sorted by displayOrder\r\n2. Test failed\r\n3. Changed return value within getProductOptionXrefs() from 'productOptions' to 'sorted'\r\n4. Test succeeded\r\n\r\n@phillipuniverse - please take a look and let me know what you think"},"comment":{"url":"https://api.github.com/repos/BroadleafCommerce/BroadleafCommerce/issues/comments/85330348","html_url":"https://github.com/BroadleafCommerce/BroadleafCommerce/pull/1289#issuecomment-85330348","issue_url":"https://api.github.com/repos/BroadleafCommerce/BroadleafCommerce/issues/1289","id":85330348,"user":{"login":"ncrum","id":3411402,"avatar_url":"https://avatars.githubusercontent.com/u/3411402?v=3","gravatar_id":"","url":"https://api.github.com/users/ncrum","html_url":"https://github.com/ncrum","followers_url":"https://api.github.com/users/ncrum/followers","following_url":"https://api.github.com/users/ncrum/following{/other_user}","gists_url":"https://api.github.com/users/ncrum/gists{/gist_id}","starred_url":"https://api.github.com/users/ncrum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ncrum/subscriptions","organizations_url":"https://api.github.com/users/ncrum/orgs","repos_url":"https://api.github.com/users/ncrum/repos","events_url":"https://api.github.com/users/ncrum/events{/privacy}","received_events_url":"https://api.github.com/users/ncrum/received_events","type":"User","site_admin":false},"created_at":"2015-03-24T03:58:16Z","updated_at":"2015-03-24T03:58:16Z","body":"done"}}