Skip to content

Broken reference on packages page to material #115

@donmahallem

Description

@donmahallem

For example taken from this Package if you want click the material the url is broken.

It generates:
https://database.openprinttag.org/brands/prusament-asa-jet-black
Not the expected:
https://database.openprinttag.org/brands/prusament/packages/prusament-asa-jet-black-800-spool

partially is to blame:

as it only sets the $brandId and not even the material id and

const params =
field?.entity === 'container'
? {
...match?.params,
containerId: val?.[relData.valueField],
}
: { brandId: val?.[relData.valueField] };

as it's rather fragile and doesn't even set a materialId in this case. Only the materialId as the brandId.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions