{"action":"created","issue":{"url":"https://api.github.com/repos/mailpile/Mailpile/issues/1527","labels_url":"https://api.github.com/repos/mailpile/Mailpile/issues/1527/labels{/name}","comments_url":"https://api.github.com/repos/mailpile/Mailpile/issues/1527/comments","events_url":"https://api.github.com/repos/mailpile/Mailpile/issues/1527/events","html_url":"https://github.com/mailpile/Mailpile/issues/1527","id":125832889,"number":1527,"title":"Make search \"order\" save selection in config","user":{"login":"bnvk","id":48677,"avatar_url":"https://avatars.githubusercontent.com/u/48677?v=3","gravatar_id":"","url":"https://api.github.com/users/bnvk","html_url":"https://github.com/bnvk","followers_url":"https://api.github.com/users/bnvk/followers","following_url":"https://api.github.com/users/bnvk/following{/other_user}","gists_url":"https://api.github.com/users/bnvk/gists{/gist_id}","starred_url":"https://api.github.com/users/bnvk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bnvk/subscriptions","organizations_url":"https://api.github.com/users/bnvk/orgs","repos_url":"https://api.github.com/users/bnvk/repos","events_url":"https://api.github.com/users/bnvk/events{/privacy}","received_events_url":"https://api.github.com/users/bnvk/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mailpile/Mailpile/labels/Front%20End","name":"Front End","color":"009800"},{"url":"https://api.github.com/repos/mailpile/Mailpile/labels/Low%20Hanging%20Fruit","name":"Low Hanging Fruit","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-10T17:15:02Z","updated_at":"2016-01-11T04:48:11Z","closed_at":null,"body":"Currently, the order messages in a search show up is by default set to `rev-freshness` and upon changing in the UI the new setting does not persist. This can be changed to other states via the CLI using `set prefs.default_order = rev-date`  however, like display density this action should save state in the config via an AJAX call."},"comment":{"url":"https://api.github.com/repos/mailpile/Mailpile/issues/comments/170430014","html_url":"https://github.com/mailpile/Mailpile/issues/1527#issuecomment-170430014","issue_url":"https://api.github.com/repos/mailpile/Mailpile/issues/1527","id":170430014,"user":{"login":"BjarniRunar","id":3943592,"avatar_url":"https://avatars.githubusercontent.com/u/3943592?v=3","gravatar_id":"","url":"https://api.github.com/users/BjarniRunar","html_url":"https://github.com/BjarniRunar","followers_url":"https://api.github.com/users/BjarniRunar/followers","following_url":"https://api.github.com/users/BjarniRunar/following{/other_user}","gists_url":"https://api.github.com/users/BjarniRunar/gists{/gist_id}","starred_url":"https://api.github.com/users/BjarniRunar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BjarniRunar/subscriptions","organizations_url":"https://api.github.com/users/BjarniRunar/orgs","repos_url":"https://api.github.com/users/BjarniRunar/repos","events_url":"https://api.github.com/users/BjarniRunar/events{/privacy}","received_events_url":"https://api.github.com/users/BjarniRunar/received_events","type":"User","site_admin":false},"created_at":"2016-01-11T04:48:11Z","updated_at":"2016-01-11T04:48:11Z","body":"This is on my list, but I am unsure what is the best behaviour here.\r\n\r\nChanging the default sort order is one thing, which power-users may want to do. However, casual reordering is usually contextual, something you do for the search you are working with - and you may not *want* it to persist. I am not sure we would actually be helping our users by making this sticky."}}