{"action":"closed","issue":{"url":"https://api.github.com/repos/KleeGroup/focus-components/issues/410","repository_url":"https://api.github.com/repos/KleeGroup/focus-components","labels_url":"https://api.github.com/repos/KleeGroup/focus-components/issues/410/labels{/name}","comments_url":"https://api.github.com/repos/KleeGroup/focus-components/issues/410/comments","events_url":"https://api.github.com/repos/KleeGroup/focus-components/issues/410/events","html_url":"https://github.com/KleeGroup/focus-components/issues/410","id":107941231,"number":410,"title":"[Advancedsearch][Facets & Groups] sort all wrong when more than 6 items (v0.6.1-5)","user":{"login":"sgoretti","id":14293391,"avatar_url":"https://avatars.githubusercontent.com/u/14293391?v=3","gravatar_id":"","url":"https://api.github.com/users/sgoretti","html_url":"https://github.com/sgoretti","followers_url":"https://api.github.com/users/sgoretti/followers","following_url":"https://api.github.com/users/sgoretti/following{/other_user}","gists_url":"https://api.github.com/users/sgoretti/gists{/gist_id}","starred_url":"https://api.github.com/users/sgoretti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgoretti/subscriptions","organizations_url":"https://api.github.com/users/sgoretti/orgs","repos_url":"https://api.github.com/users/sgoretti/repos","events_url":"https://api.github.com/users/sgoretti/events{/privacy}","received_events_url":"https://api.github.com/users/sgoretti/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/KleeGroup/focus-components/labels/Backlog","name":"Backlog","color":"ededed"},{"url":"https://api.github.com/repos/KleeGroup/focus-components/labels/Bug","name":"Bug","color":"e11d21"},{"url":"https://api.github.com/repos/KleeGroup/focus-components/labels/Minor","name":"Minor","color":"f7c6c7"}],"state":"closed","locked":false,"assignee":{"login":"pierr","id":286966,"avatar_url":"https://avatars.githubusercontent.com/u/286966?v=3","gravatar_id":"","url":"https://api.github.com/users/pierr","html_url":"https://github.com/pierr","followers_url":"https://api.github.com/users/pierr/followers","following_url":"https://api.github.com/users/pierr/following{/other_user}","gists_url":"https://api.github.com/users/pierr/gists{/gist_id}","starred_url":"https://api.github.com/users/pierr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pierr/subscriptions","organizations_url":"https://api.github.com/users/pierr/orgs","repos_url":"https://api.github.com/users/pierr/repos","events_url":"https://api.github.com/users/pierr/events{/privacy}","received_events_url":"https://api.github.com/users/pierr/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/KleeGroup/focus-components/milestones/9","html_url":"https://github.com/KleeGroup/focus-components/milestones/Long%20term%20release","labels_url":"https://api.github.com/repos/KleeGroup/focus-components/milestones/9/labels","id":1365778,"number":9,"title":"Long term release","description":"","creator":{"login":"pierr","id":286966,"avatar_url":"https://avatars.githubusercontent.com/u/286966?v=3","gravatar_id":"","url":"https://api.github.com/users/pierr","html_url":"https://github.com/pierr","followers_url":"https://api.github.com/users/pierr/followers","following_url":"https://api.github.com/users/pierr/following{/other_user}","gists_url":"https://api.github.com/users/pierr/gists{/gist_id}","starred_url":"https://api.github.com/users/pierr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pierr/subscriptions","organizations_url":"https://api.github.com/users/pierr/orgs","repos_url":"https://api.github.com/users/pierr/repos","events_url":"https://api.github.com/users/pierr/events{/privacy}","received_events_url":"https://api.github.com/users/pierr/received_events","type":"User","site_admin":false},"open_issues":23,"closed_issues":11,"state":"open","created_at":"2015-10-20T08:43:03Z","updated_at":"2016-03-21T17:09:09Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2015-09-23T15:06:25Z","updated_at":"2016-03-21T17:09:09Z","closed_at":"2016-03-21T17:09:09Z","body":"When using the AdvancedSearch as is, I have some order issue with facets and groups.\r\n\r\nFor example, this is the Json I get (in the response tab of the webservice call)\r\n\r\n![image](https://cloud.githubusercontent.com/assets/14293391/10048784/e2b21e58-6214-11e5-8fcd-f4d07252073e.png)\r\n\r\nAs you can see, the order is fine for both facets.\r\nAnd this is the page: \r\n\r\n![image](https://cloud.githubusercontent.com/assets/14293391/10048834/0e780eda-6215-11e5-9834-1b0059df348b.png)\r\n\r\nAs you can see the facet with 6 items is ordered correctly, but the facet with more than 6 items has had its order changed. This is the same for all facets with enough values to need the \"view all\" link.\r\n\r\nRemarkably, this order issue can also be found in the groups, where the exact same wrong (or right if less than 6 groups) order can be found.\r\n\r\n"}}