Skip to content

[HOLD for payment 2025-02-04] [$250] Removing one value from Search filter clears the search #55433

@luacmartins

Description

@luacmartins

Coming from here, we're clearing the search when we remove one of the values from a filter, e.g. removing category:Advertising from category:Advertising tag:Accounting.

Reproduction steps:

Go to Reports page
Search for category:"Meals and Entertainment",Advertising
Click on search header and edit query to remove Advertising
Expected Result:

Search query is now type:expense status:all category:"Meals and Entertainment"
Actual Result:

Search query is cleared

Extra info:
Based on @jaydamani's investigation, submitSearch gets called twice for some reason and on second time the search query is blank so filter resets

Screen.Recording.2025-01-17.at.19.33.04.mp4
Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021880343282436872367
  • Upwork Job ID: 1880343282436872367
  • Last Price Increase: 2025-01-17
  • Automatic offers:
    • ishakakkad | Contributor | 105774673
Issue OwnerCurrent Issue Owner: @kadiealexander

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
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions