Skip to content

Changing filter removes tab path parameter

Summary

When a user selects the operational vulnerabilities tab, the &tab=operational path parameter gets added to the path. When a user then changes the vulnerability report filters, the tab path parameter gets removed even when the user hasn't changed tabs

Steps to reproduce

  1. Navigate to a project with security enabled
  2. Navigate to the operational vulnerabilities tab
  3. Change the table filters

Example Project

https://staging.gitlab.com/groups/defend-team-test/operational-vulnerabilities/-/security/vulnerabilities

What is the current bug behavior?

&tab=operational is removed from the path when a user changes the table filtering

What is the expected correct behavior?

&tab=operational is NOT removed from the path when a user changes the table filtering

Relevant logs and/or screenshots

image

Possible fixes

-[]frontend modify updateFilterQuery in vulnerability_filters.vue to not remove this extra path parameter

Edited by Alexander Turinske