case 3268 - Make relations link to the object.
Merge branch 'case-3268' into new-search