Skip to content

Conversation

@kanikabansal08
Copy link
Collaborator

@kanikabansal08 kanikabansal08 commented Oct 13, 2025

Type of Change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring
  • Dependency updates
  • Documentation
  • CI/CD

Description

Recent change tied filter refetch to date range, which caused remounts and cleared local state in the Amount filter. On Payments > Amount, selecting a value closes the dropdown and the selection isn’t retained.

This started after PR #3413 (fix: filter bugs when time range is changed). The refetch was triggered by start_time and end_time. While fetching, filter data was cleared temporarily, which flipped the subtree and caused a remount, resetting the dropdown state.

The fix reverts the effect dependency to only transactionEntity, matching the behavior before #3413 and preventing unnecessary remounts.

Motivation and Context

bugfix

How did you test it?

Amount filter dropdown now opens correctly on first click and retains input.
Also time range filters are working accurately.

Where to test it?

  • INTEG
  • SANDBOX
  • PROD

Checklist

  • I ran npm run re:build
  • I reviewed submitted code
  • I added unit tests for my changes where possible

@kanikabansal08 kanikabansal08 requested a review from a team as a code owner October 13, 2025 10:52
@semanticdiff-com
Copy link

Review changes with  SemanticDiff

@kanikabansal08 kanikabansal08 self-assigned this Oct 13, 2025
@kanikabansal08 kanikabansal08 linked an issue Oct 13, 2025 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Amount filter in payment operations

3 participants