Skip to content

[Due for payment 2025-06-11] [$250] Adding filter in the middle of a query invalidates the query #62614

Description

@m-natarajan

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Version Number: 9.1.49-6
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @dominictb
Slack conversation (hyperlinked to channel name): #Expensify Bugs

Action Performed:

  1. Go to Reports
  2. Press the filter icon
  3. Select From > "You"
  4. Type in group-by:reports at THE END of the query > Enter to search
  5. Observe the results
  6. Remove group-by:reports
  7. Place the cursor before from:...
  8. Type in group-by:reports
  9. See that the name in from: loses highlight
  10. Press Enter to search
  11. See that Nothing to show appears

Expected Result:

In step 9, the name should keep the highlight
The queries in step 11 and step 5 are the same, just change order, so the results should be the same

Actual Result:

In step 9, the name loses highlight
The queries in step 11 and step 5 are the same but yield different results

Workaround:

Can the user still use Expensify without this being fixed? Have you informed them of the workaround?

Platforms:

Select the officially supported platforms where the issue was reproduced:

  • Android: App
  • Android: mWeb Chrome
  • iOS: App
  • iOS: mWeb Safari
  • iOS: mWeb Chrome
  • Windows: Chrome
  • MacOS: Chrome / Safari
  • MacOS: Desktop
Platforms Tested: On which of our officially supported platforms was this issue tested:
  • Android: App
  • Android: mWeb Chrome
  • iOS: App
  • iOS: mWeb Safari
  • iOS: mWeb Chrome
  • Windows: Chrome
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence
Screen.Recording.2025-05-22.at.16.29.06.mov
Recording.1260.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021928080421938997312
  • Upwork Job ID: 1928080421938997312
  • Last Price Increase: 2025-05-29
Issue OwnerCurrent Issue Owner: @zanyrenney

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributor

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions