fix search by author and search result pagination (TODO)