Skip to content

MyDSpace status facets display incorrect (named resource) labels after selection #3975

@kshepherd

Description

@kshepherd

Describe the bug

When a value in the status facet is selected (e.g. Archived), for some reason the displayed label changes from the status itself to the value of the named resource type in question (e.g. item, or workflow).

This can be observed in https://demo.dspace.org

  1. Log in as the administrator or any other user with a busy workspace
  2. Expand the Status left-hand facet and select Archived
  3. Note the label (regardless of locale)

Image

Image

Expected behavior

The displayed facet label should never change, it should just appear to be active and selected.

Notes

After selection, I can see named resource filters added to my search parameters: https://demo.dspace.org/mydspace?configuration=workspace&spc.page=1&f.namedresourcetype=item,authority

And these become the facets under status. It isn't clear to me why.

Related work

I'm not sure if this is related: https://github.com/DSpace/dspace-angular/pull/2388/files
Related feature issue: #1609

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    Status

    📋 To Do

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions