{"action":"opened","issue":{"url":"https://api.github.com/repos/jjgrainger/wp-custom-post-type-class/issues/73","repository_url":"https://api.github.com/repos/jjgrainger/wp-custom-post-type-class","labels_url":"https://api.github.com/repos/jjgrainger/wp-custom-post-type-class/issues/73/labels{/name}","comments_url":"https://api.github.com/repos/jjgrainger/wp-custom-post-type-class/issues/73/comments","events_url":"https://api.github.com/repos/jjgrainger/wp-custom-post-type-class/issues/73/events","html_url":"https://github.com/jjgrainger/wp-custom-post-type-class/issues/73","id":344058997,"node_id":"MDU6SXNzdWUzNDQwNTg5OTc=","number":73,"title":"Unable to sort on menu_order","user":{"login":"sanderdewijs","id":5313152,"node_id":"MDQ6VXNlcjUzMTMxNTI=","avatar_url":"https://avatars1.githubusercontent.com/u/5313152?v=4","gravatar_id":"","url":"https://api.github.com/users/sanderdewijs","html_url":"https://github.com/sanderdewijs","followers_url":"https://api.github.com/users/sanderdewijs/followers","following_url":"https://api.github.com/users/sanderdewijs/following{/other_user}","gists_url":"https://api.github.com/users/sanderdewijs/gists{/gist_id}","starred_url":"https://api.github.com/users/sanderdewijs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sanderdewijs/subscriptions","organizations_url":"https://api.github.com/users/sanderdewijs/orgs","repos_url":"https://api.github.com/users/sanderdewijs/repos","events_url":"https://api.github.com/users/sanderdewijs/events{/privacy}","received_events_url":"https://api.github.com/users/sanderdewijs/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-24T14:19:25Z","updated_at":"2018-07-24T14:19:25Z","closed_at":null,"author_association":"NONE","body":"Hi, \r\n\r\nI have added the menu_order to the admin screen for a CPT. I can make the column sortable and display the values inside the column. However when I click the column header to sort, the sorting action displays an empty list. Can't figure out what is going wrong here:\r\n\r\n```$videoPost->columns(array (\r\n\t'cb' => '<input type=\"checkbox\" />',\r\n\t'title' => 'Title',\r\n\t'video_type' => 'Type',\r\n\t'menu_order' => 'Order',\r\n\t'sticky' => 'Sticky',\r\n\t'date' => 'Date',\r\n    ));\r\n    $videoPost->sortable(array(\r\n\t'sticky' => array('sticky', false),\r\n\t'menu_order' => array('menu_order', true),\r\n    ));\r\n    $videoPost->populate_column('menu_order', function($column, $post){\r\n\techo $post->menu_order;\r\n    });\r\n    $videoPost->populate_column('video_type', function($column, $post){\r\n\techo ucfirst(get_field('video_type'));\r\n    });\r\n    $videoPost->populate_column('sticky', function($column, $post){\r\n\tif(get_field('sticky')) {\r\n\t\techo 'Yes';\r\n\t}\r\n    }); \r\n\r\nThank you,\r\nSander de Wijs"}}
{"actor":{"display_login":"sanderdewijs"}}