{"action":"closed","number":318,"pull_request":{"url":"https://api.github.com/repos/leikind/wice_grid/pulls/318","id":79530919,"html_url":"https://github.com/leikind/wice_grid/pull/318","diff_url":"https://github.com/leikind/wice_grid/pull/318.diff","patch_url":"https://github.com/leikind/wice_grid/pull/318.patch","issue_url":"https://api.github.com/repos/leikind/wice_grid/issues/318","number":318,"state":"closed","locked":false,"title":"to_h leaves empty sorting headers in Rails 4","user":{"login":"Datyv","id":10030508,"avatar_url":"https://avatars.githubusercontent.com/u/10030508?v=3","gravatar_id":"","url":"https://api.github.com/users/Datyv","html_url":"https://github.com/Datyv","followers_url":"https://api.github.com/users/Datyv/followers","following_url":"https://api.github.com/users/Datyv/following{/other_user}","gists_url":"https://api.github.com/users/Datyv/gists{/gist_id}","starred_url":"https://api.github.com/users/Datyv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Datyv/subscriptions","organizations_url":"https://api.github.com/users/Datyv/orgs","repos_url":"https://api.github.com/users/Datyv/repos","events_url":"https://api.github.com/users/Datyv/events{/privacy}","received_events_url":"https://api.github.com/users/Datyv/received_events","type":"User","site_admin":false},"body":"Hey Yuri,\r\nwe're using rails 4.2.5.2. The commit from 'Philipp Großelfinger' leaves our sorting headers empty.\r\n(`http://localhost:3000/tasks?`)\r\n\r\nIn our Version it just works without the .to_h method. \r\nI hope this pull request is ok. \r\n\r\nGreetings Yves\r\n\r\nPS.: No Idea, why the opts[:order_direction] line is in there again.","created_at":"2016-08-01T08:25:09Z","updated_at":"2016-08-01T08:55:11Z","closed_at":"2016-08-01T08:55:11Z","merged_at":"2016-08-01T08:55:11Z","merge_commit_sha":"fe40a5091e6ee75b80483d7d9cd7cb589eb436bb","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/leikind/wice_grid/pulls/318/commits","review_comments_url":"https://api.github.com/repos/leikind/wice_grid/pulls/318/comments","review_comment_url":"https://api.github.com/repos/leikind/wice_grid/pulls/comments{/number}","comments_url":"https://api.github.com/repos/leikind/wice_grid/issues/318/comments","statuses_url":"https://api.github.com/repos/leikind/wice_grid/statuses/cc1b54adc1fea5fb82429d9ab4da0179a0fcc398","head":{"label":"Datyv:rails3","ref":"rails3","sha":"cc1b54adc1fea5fb82429d9ab4da0179a0fcc398","user":{"login":"Datyv","id":10030508,"avatar_url":"https://avatars.githubusercontent.com/u/10030508?v=3","gravatar_id":"","url":"https://api.github.com/users/Datyv","html_url":"https://github.com/Datyv","followers_url":"https://api.github.com/users/Datyv/followers","following_url":"https://api.github.com/users/Datyv/following{/other_user}","gists_url":"https://api.github.com/users/Datyv/gists{/gist_id}","starred_url":"https://api.github.com/users/Datyv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Datyv/subscriptions","organizations_url":"https://api.github.com/users/Datyv/orgs","repos_url":"https://api.github.com/users/Datyv/repos","events_url":"https://api.github.com/users/Datyv/events{/privacy}","received_events_url":"https://api.github.com/users/Datyv/received_events","type":"User","site_admin":false},"repo":{"id":63672157,"name":"wice_grid","full_name":"Datyv/wice_grid","owner":{"login":"Datyv","id":10030508,"avatar_url":"https://avatars.githubusercontent.com/u/10030508?v=3","gravatar_id":"","url":"https://api.github.com/users/Datyv","html_url":"https://github.com/Datyv","followers_url":"https://api.github.com/users/Datyv/followers","following_url":"https://api.github.com/users/Datyv/following{/other_user}","gists_url":"https://api.github.com/users/Datyv/gists{/gist_id}","starred_url":"https://api.github.com/users/Datyv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Datyv/subscriptions","organizations_url":"https://api.github.com/users/Datyv/orgs","repos_url":"https://api.github.com/users/Datyv/repos","events_url":"https://api.github.com/users/Datyv/events{/privacy}","received_events_url":"https://api.github.com/users/Datyv/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Datyv/wice_grid","description":"A Rails grid plugin to create  grids with sorting, pagination, and (automatically generated) filters","fork":true,"url":"https://api.github.com/repos/Datyv/wice_grid","forks_url":"https://api.github.com/repos/Datyv/wice_grid/forks","keys_url":"https://api.github.com/repos/Datyv/wice_grid/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Datyv/wice_grid/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Datyv/wice_grid/teams","hooks_url":"https://api.github.com/repos/Datyv/wice_grid/hooks","issue_events_url":"https://api.github.com/repos/Datyv/wice_grid/issues/events{/number}","events_url":"https://api.github.com/repos/Datyv/wice_grid/events","assignees_url":"https://api.github.com/repos/Datyv/wice_grid/assignees{/user}","branches_url":"https://api.github.com/repos/Datyv/wice_grid/branches{/branch}","tags_url":"https://api.github.com/repos/Datyv/wice_grid/tags","blobs_url":"https://api.github.com/repos/Datyv/wice_grid/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Datyv/wice_grid/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Datyv/wice_grid/git/refs{/sha}","trees_url":"https://api.github.com/repos/Datyv/wice_grid/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Datyv/wice_grid/statuses/{sha}","languages_url":"https://api.github.com/repos/Datyv/wice_grid/languages","stargazers_url":"https://api.github.com/repos/Datyv/wice_grid/stargazers","contributors_url":"https://api.github.com/repos/Datyv/wice_grid/contributors","subscribers_url":"https://api.github.com/repos/Datyv/wice_grid/subscribers","subscription_url":"https://api.github.com/repos/Datyv/wice_grid/subscription","commits_url":"https://api.github.com/repos/Datyv/wice_grid/commits{/sha}","git_commits_url":"https://api.github.com/repos/Datyv/wice_grid/git/commits{/sha}","comments_url":"https://api.github.com/repos/Datyv/wice_grid/comments{/number}","issue_comment_url":"https://api.github.com/repos/Datyv/wice_grid/issues/comments{/number}","contents_url":"https://api.github.com/repos/Datyv/wice_grid/contents/{+path}","compare_url":"https://api.github.com/repos/Datyv/wice_grid/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Datyv/wice_grid/merges","archive_url":"https://api.github.com/repos/Datyv/wice_grid/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Datyv/wice_grid/downloads","issues_url":"https://api.github.com/repos/Datyv/wice_grid/issues{/number}","pulls_url":"https://api.github.com/repos/Datyv/wice_grid/pulls{/number}","milestones_url":"https://api.github.com/repos/Datyv/wice_grid/milestones{/number}","notifications_url":"https://api.github.com/repos/Datyv/wice_grid/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Datyv/wice_grid/labels{/name}","releases_url":"https://api.github.com/repos/Datyv/wice_grid/releases{/id}","deployments_url":"https://api.github.com/repos/Datyv/wice_grid/deployments","created_at":"2016-07-19T07:39:03Z","updated_at":"2016-07-19T07:39:04Z","pushed_at":"2016-08-01T08:21:16Z","git_url":"git://github.com/Datyv/wice_grid.git","ssh_url":"git@github.com:Datyv/wice_grid.git","clone_url":"https://github.com/Datyv/wice_grid.git","svn_url":"https://github.com/Datyv/wice_grid","homepage":"http://wicegrid.herokuapp.com/","size":1474,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"rails3"}},"base":{"label":"leikind:rails3","ref":"rails3","sha":"98025f36c18a2cd2f28004f45d9f72047d8f3278","user":{"login":"leikind","id":99266,"avatar_url":"https://avatars.githubusercontent.com/u/99266?v=3","gravatar_id":"","url":"https://api.github.com/users/leikind","html_url":"https://github.com/leikind","followers_url":"https://api.github.com/users/leikind/followers","following_url":"https://api.github.com/users/leikind/following{/other_user}","gists_url":"https://api.github.com/users/leikind/gists{/gist_id}","starred_url":"https://api.github.com/users/leikind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leikind/subscriptions","organizations_url":"https://api.github.com/users/leikind/orgs","repos_url":"https://api.github.com/users/leikind/repos","events_url":"https://api.github.com/users/leikind/events{/privacy}","received_events_url":"https://api.github.com/users/leikind/received_events","type":"User","site_admin":false},"repo":{"id":239898,"name":"wice_grid","full_name":"leikind/wice_grid","owner":{"login":"leikind","id":99266,"avatar_url":"https://avatars.githubusercontent.com/u/99266?v=3","gravatar_id":"","url":"https://api.github.com/users/leikind","html_url":"https://github.com/leikind","followers_url":"https://api.github.com/users/leikind/followers","following_url":"https://api.github.com/users/leikind/following{/other_user}","gists_url":"https://api.github.com/users/leikind/gists{/gist_id}","starred_url":"https://api.github.com/users/leikind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leikind/subscriptions","organizations_url":"https://api.github.com/users/leikind/orgs","repos_url":"https://api.github.com/users/leikind/repos","events_url":"https://api.github.com/users/leikind/events{/privacy}","received_events_url":"https://api.github.com/users/leikind/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/leikind/wice_grid","description":"A Rails grid plugin to create  grids with sorting, pagination, and (automatically generated) filters","fork":false,"url":"https://api.github.com/repos/leikind/wice_grid","forks_url":"https://api.github.com/repos/leikind/wice_grid/forks","keys_url":"https://api.github.com/repos/leikind/wice_grid/keys{/key_id}","collaborators_url":"https://api.github.com/repos/leikind/wice_grid/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/leikind/wice_grid/teams","hooks_url":"https://api.github.com/repos/leikind/wice_grid/hooks","issue_events_url":"https://api.github.com/repos/leikind/wice_grid/issues/events{/number}","events_url":"https://api.github.com/repos/leikind/wice_grid/events","assignees_url":"https://api.github.com/repos/leikind/wice_grid/assignees{/user}","branches_url":"https://api.github.com/repos/leikind/wice_grid/branches{/branch}","tags_url":"https://api.github.com/repos/leikind/wice_grid/tags","blobs_url":"https://api.github.com/repos/leikind/wice_grid/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/leikind/wice_grid/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/leikind/wice_grid/git/refs{/sha}","trees_url":"https://api.github.com/repos/leikind/wice_grid/git/trees{/sha}","statuses_url":"https://api.github.com/repos/leikind/wice_grid/statuses/{sha}","languages_url":"https://api.github.com/repos/leikind/wice_grid/languages","stargazers_url":"https://api.github.com/repos/leikind/wice_grid/stargazers","contributors_url":"https://api.github.com/repos/leikind/wice_grid/contributors","subscribers_url":"https://api.github.com/repos/leikind/wice_grid/subscribers","subscription_url":"https://api.github.com/repos/leikind/wice_grid/subscription","commits_url":"https://api.github.com/repos/leikind/wice_grid/commits{/sha}","git_commits_url":"https://api.github.com/repos/leikind/wice_grid/git/commits{/sha}","comments_url":"https://api.github.com/repos/leikind/wice_grid/comments{/number}","issue_comment_url":"https://api.github.com/repos/leikind/wice_grid/issues/comments{/number}","contents_url":"https://api.github.com/repos/leikind/wice_grid/contents/{+path}","compare_url":"https://api.github.com/repos/leikind/wice_grid/compare/{base}...{head}","merges_url":"https://api.github.com/repos/leikind/wice_grid/merges","archive_url":"https://api.github.com/repos/leikind/wice_grid/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/leikind/wice_grid/downloads","issues_url":"https://api.github.com/repos/leikind/wice_grid/issues{/number}","pulls_url":"https://api.github.com/repos/leikind/wice_grid/pulls{/number}","milestones_url":"https://api.github.com/repos/leikind/wice_grid/milestones{/number}","notifications_url":"https://api.github.com/repos/leikind/wice_grid/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/leikind/wice_grid/labels{/name}","releases_url":"https://api.github.com/repos/leikind/wice_grid/releases{/id}","deployments_url":"https://api.github.com/repos/leikind/wice_grid/deployments","created_at":"2009-06-30T16:59:51Z","updated_at":"2016-07-24T04:34:32Z","pushed_at":"2016-08-01T08:55:11Z","git_url":"git://github.com/leikind/wice_grid.git","ssh_url":"git@github.com:leikind/wice_grid.git","clone_url":"https://github.com/leikind/wice_grid.git","svn_url":"https://github.com/leikind/wice_grid","homepage":"http://wicegrid.herokuapp.com/","size":1501,"stargazers_count":454,"watchers_count":454,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":136,"mirror_url":null,"open_issues_count":33,"forks":136,"open_issues":33,"watchers":454,"default_branch":"rails3"}},"_links":{"self":{"href":"https://api.github.com/repos/leikind/wice_grid/pulls/318"},"html":{"href":"https://github.com/leikind/wice_grid/pull/318"},"issue":{"href":"https://api.github.com/repos/leikind/wice_grid/issues/318"},"comments":{"href":"https://api.github.com/repos/leikind/wice_grid/issues/318/comments"},"review_comments":{"href":"https://api.github.com/repos/leikind/wice_grid/pulls/318/comments"},"review_comment":{"href":"https://api.github.com/repos/leikind/wice_grid/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/leikind/wice_grid/pulls/318/commits"},"statuses":{"href":"https://api.github.com/repos/leikind/wice_grid/statuses/cc1b54adc1fea5fb82429d9ab4da0179a0fcc398"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"leikind","id":99266,"avatar_url":"https://avatars.githubusercontent.com/u/99266?v=3","gravatar_id":"","url":"https://api.github.com/users/leikind","html_url":"https://github.com/leikind","followers_url":"https://api.github.com/users/leikind/followers","following_url":"https://api.github.com/users/leikind/following{/other_user}","gists_url":"https://api.github.com/users/leikind/gists{/gist_id}","starred_url":"https://api.github.com/users/leikind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leikind/subscriptions","organizations_url":"https://api.github.com/users/leikind/orgs","repos_url":"https://api.github.com/users/leikind/repos","events_url":"https://api.github.com/users/leikind/events{/privacy}","received_events_url":"https://api.github.com/users/leikind/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":2,"additions":6,"deletions":2,"changed_files":2}}
{"actor":{"display_login":"leikind"}}