Skip to content

🐞 Broken Actor links #1187

@maxh1231

Description

@maxh1231

Description 💬

Querying an individual links to /details/person/:id route. This route does not exist.

Reproduction Steps 🪜

  1. Search a person
  2. Click on any result
  3. PageNotFound screen is rendered

Expected Behavior

Should properly link to the details/actor/:id route.

Additional Context

Query results are displayed via ShowPoster or ShowListCard components. Both of these components utilize <Link to={'/details/${details.media_type}/${details.id}'} >.

media_type for individuals is person, hence the invalid link.

Can presumably add a media_type == 'person' conditional to provide the proper link.

Metadata

Metadata

Assignees

Labels

type: bugSomething isn't working

Projects

Status

📋 Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions