Skip to content

Issue with relation field linking #160

Open
@nathanwkwong

Description

@nathanwkwong

I have a menu item with a field, A, related to a collection, B. After I link a collection of B, b. The link to go to b is
http://localhost:1337/admin/content-manager/collectionType/api::B.B/12
but it should be
http://localhost:1337/admin/content-manager/collection-types/api::B.B/12
Screenshot 2024-05-13 at 5 14 21 PM

After clicking the link, it redirect to the collection list,
http://localhost:1337/admin/content-manager/collection-types/api::B:B
instead of that particular collection b page. is there a way to fix it? I tried to add a global middleware to rewrite the redirection, but it does not work. the link is in referer and the first fetch after clicking a relation is to content-manager/init instead of the wanted url

Screenshot 2024-05-13 at 5 13 04 PM

my strapi packages version:
"@strapi/strapi": "4.23.1",
"strapi-plugin-menus": "^1.6.1"

This plugin is awesome, helped me to flatten the data structure~!
Thanks for any help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions