I'm looking a way to use More Like This block within the Drupal multisite environment.

I created a new Solr search environment targeted to single remote site.

As result More Like This block show correct node titles as designed. Node IDs within the block also correct and should point to corresponding URLs on remote site.

However links are pointed to the local site instead of the remote one.

So, I'm looking a way to point links to remote site as designed.

Comments

guruslot’s picture

Issue summary: View changes
guruslot’s picture

Related issues: +#2164019: Multisite MLT
guruslot’s picture

apachesolr_search.module

function theme_apachesolr_search_mlt_recommendation_block($vars)

replace $result->path with $result->url

guruslot’s picture

Status: Active » Closed (fixed)