mirror of
https://github.com/hyperdxio/hyperdx
synced 2026-04-21 13:37:15 +00:00
fix: Table chart click query formatting (#167)
This commit is contained in:
parent
72164a64a8
commit
6d3cdae914
2 changed files with 10 additions and 1 deletions
5
.changeset/breezy-rivers-pay.md
Normal file
5
.changeset/breezy-rivers-pay.md
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
'@hyperdx/app': patch
|
||||
---
|
||||
|
||||
Fix table chart link query formatting
|
||||
|
|
@ -270,7 +270,11 @@ const HDXTableChart = memo(
|
|||
}
|
||||
return (row?: { group: string }) => {
|
||||
const qparams = new URLSearchParams({
|
||||
q: where + (groupBy ? ` ${groupBy}:${row?.group || '*'}` : ''),
|
||||
q:
|
||||
where +
|
||||
(groupBy
|
||||
? ` ${groupBy}:${row?.group ? `"${row.group}"` : '*'}`
|
||||
: ''),
|
||||
from: `${dateRange[0].getTime()}`,
|
||||
to: `${dateRange[1].getTime()}`,
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue