Bug #3222
Fix UI issues in Wallet Report filter section
Description
Fix UI issues in Wallet Report filter section
Updated by Shreya Agarwal about 2 months ago
Today, I addressed and resolved the filter persistence issue on the Wallet Report page (/wallet-report) under the feature/shreya/3222-fix-filter-section-issue-wallet-report-ui branch. Previously, when users applied any of the 6 filter controls (Search by Name/Email/Phone, Type, Balance Filter, Date Range with custom dates, Sort By, and Order) and navigated to the My Wallet page via the eye (View) action button, clicking the "Back to Report" button caused all filter selections to reset to their default states. To fix this, I implemented a dynamic filter persistence mechanism in WalletReport.tsx . This ensures that returning via the back button preserves all 6 filter input fields, their applied query parameters, and pagination without resetting the view. The filters now strictly reset only under the required conditions: when the user explicitly clicks the "Reset" button or performs a full browser page refresh (F5/Reload). so I fix the filter section issue in wallet report