You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Due for payment 2025-07-15] [Due for payment 2025-07-14] [$125] Filters - Category and tag lists are missing in the advanced filters #65453
Version Number: v9.1.76-0 Reproducible in staging?: Yes Reproducible in production?: No If this was caught during regression testing, add the test name, ID and link from TestRail:https://expensify.testrail.io/index.php?/tests/view/6424550&group_by=cases:section_id&group_order=asc&group_id=319502 Email or phone of affected tester (no customers): n/a Issue reported by: Applause Internal Team Device used: Mac 15.4.1 Safari, Desktop, iPhone 13 iOS 18.5 Safari, Hybrid App Component: Search
Action Performed:
Preconditions: User is an admin of a workspace that has tag and categories enabled.
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
Identify the pull request that introduced this issue and revert it.
Support for Multi workspace filter in search #63706: This PR rewrote SearchFiltersTagPage.tsx and SearchFiltersCategoryPage.tsx to handle multi-workspace filters, changing how tag and category lists are loaded and likely causing them to appear empty in advanced filters.
Bump react-native-onyx to 2.0.113 #65161: Updating react-native-onyx alters how Onyx data (including policy categories and tags used to populate Advanced Filters) is stored/read, so the lists no longer load and appear missing.
Please re-state the problem that we are trying to solve in this issue.
Filters - Category and tag lists are missing in the advanced filters
What is the root cause of that problem?
Simple mistake during initial implementation
This condition was ment to check of selectedPoliciesCategories is an empty array but even an empty array is truthy value and hence this condition never executes.
Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.76-5 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
@shubham1206agra@garrettmknight The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]
changed the title [-][Due for payment 2025-07-14] [$125] Filters - Category and tag lists are missing in the advanced filters[/-][+][Due for payment 2025-07-15] [Due for payment 2025-07-14] [$125] Filters - Category and tag lists are missing in the advanced filters[/+]on Jul 8, 2025
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.77-2 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
@shubham1206agra@garrettmknight The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]
Activity
github-actions commentedon Jul 3, 2025
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
melvin-bot commentedon Jul 3, 2025
Triggered auto assignment to @garrettmknight (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.melvin-bot commentedon Jul 3, 2025
Triggered auto assignment to @mjasikowski (
DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.melvin-bot commentedon Jul 3, 2025
💬 A slack conversation has been started in #expensify-open-source
BlameGPT commentedon Jul 3, 2025
Possible culprit PRs for this issue
If not above, check these
ChavdaSachin commentedon Jul 3, 2025
Proposal
Please re-state the problem that we are trying to solve in this issue.
Filters - Category and tag lists are missing in the advanced filters
What is the root cause of that problem?
Simple mistake during initial implementation
This condition was ment to check of selectedPoliciesCategories is an empty array but even an empty array is truthy value and hence this condition never executes.
App/src/pages/Search/SearchAdvancedFiltersPage/SearchFiltersCategoryPage.tsx
Line 38 in c71d38e
What changes do you think we should make in order to solve the problem?
instead check the length of selectedPoliciesCategories array.
App/src/pages/Search/SearchAdvancedFiltersPage/SearchFiltersCategoryPage.tsx
Line 38 in c71d38e
Do the same for tags page.
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?
NA
What alternative solutions did you explore? (Optional)
Use same logic as used on taxRates page to filter tags and categories, which is working as expected.
App/src/pages/Search/SearchAdvancedFiltersPage/SearchFiltersTaxRatePage.tsx
Lines 21 to 41 in c71d38e
Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.
rushatgabhane commentedon Jul 3, 2025
@parasharrajat @luacmartins loooks related to your PR #65453 (comment)
40 remaining items
melvin-bot commentedon Jul 7, 2025
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.76-5 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
If no regressions arise, payment will be issued on 2025-07-14. 🎊
For reference, here are some details about the assignees on this issue:
melvin-bot commentedon Jul 7, 2025
@shubham1206agra @garrettmknight The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]
[-][Due for payment 2025-07-14] [$125] Filters - Category and tag lists are missing in the advanced filters[/-][+][Due for payment 2025-07-15] [Due for payment 2025-07-14] [$125] Filters - Category and tag lists are missing in the advanced filters[/+]melvin-bot commentedon Jul 8, 2025
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.77-2 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
If no regressions arise, payment will be issued on 2025-07-15. 🎊
For reference, here are some details about the assignees on this issue:
melvin-bot commentedon Jul 8, 2025
@shubham1206agra @garrettmknight The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]
garrettmknight commentedon Jul 15, 2025
Testrail caught this one and original issue/PR identified. No checklist needed.
Payment Summary:
shubham1206agra commentedon Jul 15, 2025
@garrettmknight I receive payment via NewDot.
garrettmknight commentedon Jul 15, 2025
Ah, typo. Updatded.
JmillsExpensify commentedon Jul 21, 2025
Payment summary: @shubham1206agra $125 via NewDot
garrettmknight commentedon Jul 22, 2025
$250 approved for @shubham1206agra