{"action":"created","issue":{"url":"https://api.github.com/repos/galaxyproject/galaxy/issues/550","labels_url":"https://api.github.com/repos/galaxyproject/galaxy/issues/550/labels{/name}","comments_url":"https://api.github.com/repos/galaxyproject/galaxy/issues/550/comments","events_url":"https://api.github.com/repos/galaxyproject/galaxy/issues/550/events","html_url":"https://github.com/galaxyproject/galaxy/pull/550","id":98995510,"number":550,"title":"Core, histories: use sqlalchemy hybrid_property to allow use of Histo…","user":{"login":"carlfeberhard","id":5102959,"avatar_url":"https://avatars.githubusercontent.com/u/5102959?v=3","gravatar_id":"","url":"https://api.github.com/users/carlfeberhard","html_url":"https://github.com/carlfeberhard","followers_url":"https://api.github.com/users/carlfeberhard/followers","following_url":"https://api.github.com/users/carlfeberhard/following{/other_user}","gists_url":"https://api.github.com/users/carlfeberhard/gists{/gist_id}","starred_url":"https://api.github.com/users/carlfeberhard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carlfeberhard/subscriptions","organizations_url":"https://api.github.com/users/carlfeberhard/orgs","repos_url":"https://api.github.com/users/carlfeberhard/repos","events_url":"https://api.github.com/users/carlfeberhard/events{/privacy}","received_events_url":"https://api.github.com/users/carlfeberhard/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-08-04T15:25:05Z","updated_at":"2015-08-07T18:28:17Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/galaxyproject/galaxy/pulls/550","html_url":"https://github.com/galaxyproject/galaxy/pull/550","diff_url":"https://github.com/galaxyproject/galaxy/pull/550.diff","patch_url":"https://github.com/galaxyproject/galaxy/pull/550.patch"},"body":"…ry.disk_size as a column (order, query, filter, etc.) and history.disk_size as an instance property\r\n\r\nSee: http://docs.sqlalchemy.org/en/rel_1_0/orm/extensions/hybrid.html\r\n\r\nTesting:\r\n\r\n    sa_session.query( History.name, History.disk_size ).filter( History.disk_size > 40000 ).all()\r\n    sa_session.query( History.name, History.disk_size ).order_by( desc( History.disk_size ) ).limit( 3 ).all()\r\n    sa_session.query( History ).get( 24 ).disk_size"},"comment":{"url":"https://api.github.com/repos/galaxyproject/galaxy/issues/comments/128788395","html_url":"https://github.com/galaxyproject/galaxy/pull/550#issuecomment-128788395","issue_url":"https://api.github.com/repos/galaxyproject/galaxy/issues/550","id":128788395,"user":{"login":"carlfeberhard","id":5102959,"avatar_url":"https://avatars.githubusercontent.com/u/5102959?v=3","gravatar_id":"","url":"https://api.github.com/users/carlfeberhard","html_url":"https://github.com/carlfeberhard","followers_url":"https://api.github.com/users/carlfeberhard/followers","following_url":"https://api.github.com/users/carlfeberhard/following{/other_user}","gists_url":"https://api.github.com/users/carlfeberhard/gists{/gist_id}","starred_url":"https://api.github.com/users/carlfeberhard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carlfeberhard/subscriptions","organizations_url":"https://api.github.com/users/carlfeberhard/orgs","repos_url":"https://api.github.com/users/carlfeberhard/repos","events_url":"https://api.github.com/users/carlfeberhard/events{/privacy}","received_events_url":"https://api.github.com/users/carlfeberhard/received_events","type":"User","site_admin":false},"created_at":"2015-08-07T18:28:17Z","updated_at":"2015-08-07T18:28:17Z","body":"@dannon what are the sorting issues you're seeing?"}}