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
- Navigate to a project with security enabled
- Navigate to the
operational vulnerabilities
tab - Change the table filters
Example Project
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
Possible fixes
-[]frontend modify updateFilterQuery
in vulnerability_filters.vue to not remove this extra path parameter
-
frontend investigate why this.$route.query doesn't take into account the tab
parameter
Edited by Alexander Turinske