The added suggestions for search result:

 $variables['theme_hook_suggestions'][] = 'search_result__' . $variables['module'] . '__' . $result['entity_type'] . '__' . $result['bundle'];

rely on 2 result fields that may not be present. We need ot verify to avoid notices and incorrect suggestions.

CommentFileSizeAuthor
#5 1717490-5.patch917 bytesnick_vh
#1 1717490-1.patch925 bytespwolanin

Comments

pwolanin’s picture

Status: Active » Needs review
StatusFileSize
new925 bytes
nick_vh’s picture

nick_vh’s picture

Status: Needs review » Reviewed & tested by the community

Looking good, RTBC

pwolanin’s picture

Version: 7.x-1.x-dev » 6.x-3.x-dev
Status: Reviewed & tested by the community » Patch (to be ported)

committed - need to check 6.x-3.x

nick_vh’s picture

StatusFileSize
new917 bytes
nick_vh’s picture

Status: Patch (to be ported) » Needs review
nick_vh’s picture

Status: Needs review » Fixed

committed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.