fixes #1330
Merge pull request #1333 from OCHA-DAP/search_controller

fixes #1330