{"issue":{"pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"state":"open","user":{"avatar_url":"https://secure.gravatar.com/avatar/3639c438027c7e6c215b330c5a26c698?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"3639c438027c7e6c215b330c5a26c698","url":"https://api.github.com/users/baden03","login":"baden03","id":835758},"milestone":null,"assignee":null,"labels":[],"updated_at":"2011-11-04T16:24:45Z","comments":0,"closed_at":null,"url":"https://api.github.com/repos/scribu/wp-posts-to-posts/issues/42","body":"The example shown for [Admin box filters](https://github.com/scribu/wp-posts-to-posts/wiki/Admin-box-filters) seems not to work.\r\nfirst of all:\r\n<pre>if ( 'page' == $args['post_type'] ) {</pre>\r\nis incorrect because $args['post_type']  is (or can be?) an array , I could only get the post type to match using:\r\n<pre>if ( 'page' == $args['post_type'][0] ) {</pre>\r\n\r\nNow we are able to modify the $args like so:\r\n<pre>$args['orderby'] = 'title';\r\n$args['order'] = 'asc';</pre>\r\nhowever, this seem to have no effect on the query, as the results of neither the Search or View All tabs  are ordered by title.\r\n\r\nDoes this feature still work with version 0.9.5?","html_url":"https://github.com/scribu/wp-posts-to-posts/issues/42","title":"Admin box filters - Example Outdated?","number":42,"id":2145629,"created_at":"2011-11-04T16:24:45Z"},"action":"opened"}