Added rows and start parameters to search in Resource controller.