- {:else if addressLine.type.match(/^country/)}
- <PageLink page='search', params_hash={{ country: addressLine.localname }}>search by name</PageLink>
- {:else if addressLine.type === 'postcode'}
- <PageLink page='search', params_hash={{ postalcode: addressLine.localname }}>search by name</PageLink>
+ {:else if !reverse_only && addressLine.type.match(/^country/)}
+ <PageLink page='search' params_hash={{ country: addressLine.localname }}>search by name</PageLink>
+ {:else if !reverse_only && addressLine.type === 'postcode'}
+ <PageLink page='search' params_hash={{ postalcode: addressLine.localname }}>search by name</PageLink>