Fix undefined variables in search result template
Reference last, actually did the fix

Ref 429668e
megadd
Merge branch 'develop'