Add custom fields to search template