I am using the action restrict_manage_posts to create a custom filter for a custom post type that I have. Here is the function:
restrict_manage_posts
add_action( \'res