get different no of rows of projects depending on from where the request is made