Skip to content

[5.x]: Site breadcrumb link has no URL, if there are multiple site groups #14802

@mmikkel

Description

@mmikkel

What happened?

Description

In a multi-site Craft 5 install with multiple site groups, the site breadcrumb link is missing its href attribute:

CleanShot 2024-04-12 at 20 38 54@2x

Steps to reproduce

  1. Create at least two site groups.
  2. Visit /admin/entries, and confirm that the site crumb doesn't have a href attribute.

Expected behavior

The site crumb link should probably link to the active site, regardless of the number of site groups.

Actual behavior

The site crumb link only has a href attribute when there is only a single site group.

Craft CMS version

5.0.4

PHP version

No response

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions