Fixed addLink Pagination for search and special page

Fixed addLink Pagination for search and special page cb9890e