Skip to content

Author browse links on item page open in a new tab, unlike other browse links #6268

Description

@MMilosz

Describe the bug

On the item page, clicking an author opens /browse/author in a new tab, while other browse links, like issue date, open in the same tab

  • Spotted on sandbox.dspace.org
  • Confirmed this does not occur on demo.dspace.org (DSpace 10), however, this should be confirmed in the code (see next bullet)
  • demo.dspace.org renders authors with ds-plain-text-metadata-list-element while sandbox.dspace.org uses ds-browse-link-metadata-list-element

Bug is browser-independent (reproduced on Chrome v154.0 and Firefox v156)

To Reproduce

Compare:

Or:

  1. On sandbox.dspace.org, go to /browse/author, select any author and open any publication that does not have relationships to Person entities (so authors are displayed as a list)
  2. Observe: click an author and it opens in a new tab. Click the date and it stays in the same tab
  3. Compare with DSpace 10 (demo.dspace.org)

Expected behavior

Author links should open in the same tab, consistent with other browse links

Related work

No directly related issues found

Additional Consideration

It may be worth auditing other *-metadata-list-element components for consistent link behavior

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugneeds triageNew issue needs triage and/or scheduling

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions