Filter not working after using browser's back button in Webform listing

Created on 29 August 2024, about 1 year ago

Problem/Motivation

After searching and selecting a webform from the autocomplete input in the Webform listing page, the browser automatically redirects to the selected webform. When the user navigates back to the listing page using the browser's back button, the search input is still filled, but the result is not filtered. Additionally, clicking the Filter button does not work, causing confusion as the listing doesn't update or filter as expected.

Steps to reproduce

  • Navigate to Admin -> Structure -> Webform.
  • In the Filter Webforms section, use the input field to search for a webform name.
  • From the autocomplete suggestions, select a webform.
  • Drupal will automatically redirect to the selected webform without needing to click the filter button.
  • Click the browser's back button to return to the webform listing page.
  • Observe that the input field is still populated with the previously searched webform name.
  • Notice that the result is not filtered.
  • Click the Filter button.

Expected Result: The webform listing should be filtered based on the keyword in the input field.

Actual Result: Clicking the Filter button does nothing, and the webform listing remains unchanged.

Proposed resolution

๐Ÿ› Bug report
Status

Active

Version

6.3

Component

Code

Created by

๐Ÿ‡ฎ๐Ÿ‡ณIndia adhershmnair Trivandrum

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024