I'm trying to build an admin page using the pages controller and a admin_index() function. I need to get a list of all Posts with a certain status and display them on this page. How can I grab these in the pages controller so I can then display them in the view.
Many thanks in advance.