{"action":"created","issue":{"url":"https://api.github.com/repos/Fabrik/fabrik/issues/1563","labels_url":"https://api.github.com/repos/Fabrik/fabrik/issues/1563/labels{/name}","comments_url":"https://api.github.com/repos/Fabrik/fabrik/issues/1563/comments","events_url":"https://api.github.com/repos/Fabrik/fabrik/issues/1563/events","html_url":"https://github.com/Fabrik/fabrik/issues/1563","id":115679596,"number":1563,"title":"Sort Order","user":{"login":"ericdavisosu","id":13805175,"avatar_url":"https://avatars.githubusercontent.com/u/13805175?v=3","gravatar_id":"","url":"https://api.github.com/users/ericdavisosu","html_url":"https://github.com/ericdavisosu","followers_url":"https://api.github.com/users/ericdavisosu/followers","following_url":"https://api.github.com/users/ericdavisosu/following{/other_user}","gists_url":"https://api.github.com/users/ericdavisosu/gists{/gist_id}","starred_url":"https://api.github.com/users/ericdavisosu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericdavisosu/subscriptions","organizations_url":"https://api.github.com/users/ericdavisosu/orgs","repos_url":"https://api.github.com/users/ericdavisosu/repos","events_url":"https://api.github.com/users/ericdavisosu/events{/privacy}","received_events_url":"https://api.github.com/users/ericdavisosu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-07T17:33:48Z","updated_at":"2015-12-09T23:56:46Z","closed_at":null,"body":"Fabrik team,\r\nI would like to report two bugs.  \r\n\r\nThe first bug is that the sort order on lists is the opposite of what it should be.  Example, on a list when I click the bi-directional arrow on top and get a greater than sign pointing down.  This should give me the greatest value at the top of the list and the lowest on the bottom.  Instead I get the lowest value at the top and the highest at the bottom.  I am using the most recent version of Joomla, Protostar template and Github version of Fabrik (I have tried on other versions of Joomla/Fabrik also).\r\n\r\nThe next issue is that the rating field does not sort at all.  I am guessing this field is calculated from the fabrik_ratings table.  Looking at the raw value of the rating field it looks like nothing is saved.  Maybe some form of upsert should be used to calculate the rating field based on the calculated value of the fabrik_ratings table.  \r\n\r\nThank you for your hard work.  I enjoy using this extension.\r\nSincerely,\r\nEric\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Fabrik/fabrik/issues/comments/163440883","html_url":"https://github.com/Fabrik/fabrik/issues/1563#issuecomment-163440883","issue_url":"https://api.github.com/repos/Fabrik/fabrik/issues/1563","id":163440883,"user":{"login":"ericdavisosu","id":13805175,"avatar_url":"https://avatars.githubusercontent.com/u/13805175?v=3","gravatar_id":"","url":"https://api.github.com/users/ericdavisosu","html_url":"https://github.com/ericdavisosu","followers_url":"https://api.github.com/users/ericdavisosu/followers","following_url":"https://api.github.com/users/ericdavisosu/following{/other_user}","gists_url":"https://api.github.com/users/ericdavisosu/gists{/gist_id}","starred_url":"https://api.github.com/users/ericdavisosu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericdavisosu/subscriptions","organizations_url":"https://api.github.com/users/ericdavisosu/orgs","repos_url":"https://api.github.com/users/ericdavisosu/repos","events_url":"https://api.github.com/users/ericdavisosu/events{/privacy}","received_events_url":"https://api.github.com/users/ericdavisosu/received_events","type":"User","site_admin":false},"created_at":"2015-12-09T23:56:46Z","updated_at":"2015-12-09T23:56:46Z","body":"Felixkat,\r\nI think it is more of an issue with the Protostar template than an issue with Fabrik.  Basically the template designers  use what looks to be an inverted greater than / less than sign instead of up / down arrows.  For example, when sorting by ascending the \"arrow\" points down, but it also looks like the \"greater\" records are at the top which is the oppositie...  This is kind of personal preference though, so I don't mind withdrawing the first issue.  \r\n\r\nThe second issue I mention is probably the more pressing issue because sorting by the highest rated content is good feature to have in most use cases.  \r\n\r\nThanks for taking the time to address this.\r\nSincerely,\r\nEric\r\n\r\n "}}