Adds search data for search template