Extra values(query) on search submit (part 2)

Created on 21 July 2023, about 1 year ago
Updated 18 October 2023, 12 months ago

Problem/Motivation

When the site is not using the wxt_ext_search module or the GC Web search option, submitting search queries appends extra values to the query.

This has already been fixed within the SearchApiBlockForm, it just needs to be replicated in the SearchBlockForm.
Commit: https://git.drupalcode.org/project/wxt_library/-/commit/835f087b2e1b6278...

Steps to reproduce

1) Disable wxt_gcweb_search setting the the theme.
2) Uninstall wxt_ext_search, if it is enabled.
3) Configure a default search page if necessary.
4) Search for anything in the search box.
5) Now you should see extra parameters such as form_build_id and form_id in the URL

Proposed resolution

Replicated changes from the attached commit. I will also attach a patch.

🐛 Bug report
Status

Fixed

Version

5.0

Component

Code

Created by

🇨🇦Canada patrick.norris

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

Comments & Activities

Production build 0.71.5 2024