Skip to content

Fixes issue with registry search query params when removed

What does this MR do and why?

Fixes issue removing filters in registry_search does not update query parameters

Reverts behaviour added in Improve registry search query params generation (!150137 - merged)

Also trims the value search value before adding it to query params

Why?

setUrlParams in UrlSync component does not remove params if key is not present. It needs to be set to null/undefined

Related to #462959 (closed)

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

N/A

How to set up and validate locally

Instructions

Edited by Rahul Chanila

Merge request reports