Skip to content

[BUG] Back history button not working in pages resulting from faceted filters #1199

@jmdiazlr-sys

Description

@jmdiazlr-sys

Prerequisites

Describe the bug and add attachments

When using navigator back button after using some faceted search filter, it results in page 404 not found, I have tried with categories and manufacturer filters with same result.

The url shown in address bar ends with [object History] (p.e., https:domain.com/[object History])

Developer tools, network tab, shows

GET https://192.168.1.75/[object%20History]

I inspected history, it is apparently good before pressing back button. Ater back button top entry in history shows https://192.168.1.75/[object%20History]

Expected behavior

Filtering with faceted search should allow to use back history button

Steps to reproduce

  1. Use top menu to click a any category or navigate any page that show faceted search filters.
  2. Use price filter to filter products
  3. Press navigator back button

PrestaShop version(s) where the bug happened

9.0.1

PHP version(s) where the bug happened

8.4.17

Your company or customer's name goes here (if applicable).

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Status

    Waiting for QA

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions