Pagination for search code and search all projects

- Searching all projects if no project specified
- Show only relevant search results to the current tab