Skip to content

Browser back navigation from search result detail leads to 404 instead of returning to paginated results #136

@saschaszott

Description

@saschaszott

Description

When viewing search results in a tab and navigating to a results page using pagination (page 2 or higher), opening a search result and then using the browser’s Back button does not return to the previous search results page. Instead, a 404 error is shown. Returning from page 1 works as expected.

Steps to reproduce

  1. Open a page showing search results, e.g., https://dspacecris-community.test.4science.cloud/entities/person/andreabollini
  2. Use pagination to navigate to page 2 (or any page > 1),
  3. Click on one of the search results to open its detail page.
  4. Use the browser’s Back button.

Expected behavior

The browser should return to the previously viewed search results page (e.g. page 2).

Actual behavior

A 404 error page is displayed instead of the search results.

Screencast

Bildschirmaufnahme.2026-02-24.um.19.13.39.mov

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions