Search results to other spaces should lead to Viewport URL if there is one activated

Description

Current behaviour:
If we have 2 spaces with Viewport, and initiate a search from one of them, links to pages to another space would lead to Confluence URL (<confluence>/display/<space_key>) instead of Viewport's (<confluence>/<path_prefix>).

Proposed behaviour:
If search results are from a space with Viewport activated, links should point to Viewport.

Environment

None

Assignee

Unassigned

Reporter

Sync User [K15t]

Labels

Participants

None

QA Status

None

Deployment

None

Documentation Status

None

UI Concept

None

External Votes

None

Components

Configure