I am developing a blog where the main posts are of a custom post type.
Let's assume it is a Book custom post type.
I want the /author/admin page to list the books of the author admin, but instead, it goes and searches for Posts of admin, which is the built-in basic post type.
How do I make my custom post type Book to be used in all such index queries? (main page, author, search, etc).