Skip to content

Commit

Permalink
fix(err): use issue_id for issue events query (#28673)
Browse files Browse the repository at this point in the history
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
  • Loading branch information
oliverb123 and greptile-apps[bot] authored Feb 13, 2025
1 parent b3e3c02 commit 9eaabed
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions frontend/src/scenes/error-tracking/queries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,7 @@ export const errorTrackingIssueEventsQuery = ({

const group = filterGroup.values[0] as UniversalFiltersGroup
const properties = group.values as AnyPropertyFilter[]

// TODO: fix this where clause. It does not take into account the events
// associated with issues that have been merged into this primary issue
const where = [`'${issue.id}' == properties.$exception_issue_id`]
const where = [`'${issue.id}' == issue_id`]

const eventsQuery: EventsQuery = {
kind: NodeKind.EventsQuery,
Expand Down

0 comments on commit 9eaabed

Please sign in to comment.