Commit 8cd67ed
fix(issue-details): Preserve page filters when searching issues by tag value (#109102)
The "Search issues with this tag value" and related navigation links in
the tag details drawer and event tags tree row dropdown were
constructing URLs without carrying over page filter parameters (project, environment,
date range) from the current URL. When a user clicked these links, the
issues list page would fall back to the default or last-saved project
selection instead of staying on the project they were viewing.
This uses `extractSelectionParameters(location.query)` to spread global
page filter params into the navigation query objects in both
`tagDetailsDrawerContent.tsx` and `eventTagsTreeRow.tsx`, matching the
pattern already established in `groupTagValues.tsx` and used widely
across the codebase for cross-page navigation.
Fixes ID-1361
fixes #108799
Co-authored-by: Claude <noreply@anthropic.com>1 parent 253e1ed commit 8cd67ed
File tree
2 files changed
+10
-5
lines changed- static/app
- components/events/eventTags
- views/issueDetails/groupTags
2 files changed
+10
-5
lines changedLines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
154 | 155 | | |
155 | 156 | | |
156 | 157 | | |
| 158 | + | |
157 | 159 | | |
158 | 160 | | |
159 | 161 | | |
| |||
178 | 180 | | |
179 | 181 | | |
180 | 182 | | |
181 | | - | |
| 183 | + | |
182 | 184 | | |
183 | 185 | | |
184 | 186 | | |
| |||
187 | 189 | | |
188 | 190 | | |
189 | 191 | | |
190 | | - | |
| 192 | + | |
191 | 193 | | |
192 | 194 | | |
193 | 195 | | |
| |||
196 | 198 | | |
197 | 199 | | |
198 | 200 | | |
199 | | - | |
| 201 | + | |
200 | 202 | | |
201 | 203 | | |
202 | 204 | | |
| |||
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
275 | 276 | | |
276 | 277 | | |
277 | 278 | | |
| 279 | + | |
278 | 280 | | |
279 | 281 | | |
280 | 282 | | |
| |||
284 | 286 | | |
285 | 287 | | |
286 | 288 | | |
| 289 | + | |
287 | 290 | | |
288 | 291 | | |
289 | 292 | | |
| |||
314 | 317 | | |
315 | 318 | | |
316 | 319 | | |
317 | | - | |
| 320 | + | |
318 | 321 | | |
319 | 322 | | |
320 | 323 | | |
321 | 324 | | |
322 | 325 | | |
323 | 326 | | |
324 | 327 | | |
325 | | - | |
| 328 | + | |
326 | 329 | | |
327 | 330 | | |
328 | 331 | | |
| |||
0 commit comments