Skip to content

[Due for payment 2025-05-27] Avoid unnecessary SearchForReports calls #60336

@mountiny

Description

@mountiny

Problem

Coming from here, @martasudol discovered that we are calling the SearchForReports API that is used in the Chat switched to fetch reports also in other actions on the Reports (search) page. This is unnecessary as the results of the API are not used and it breaks out 1:1:1 philosophy

Solution

Avoid calling this extra API call when its not needed

Issue OwnerCurrent Issue Owner: @laurenreidexpensify

Metadata

Metadata

Labels

AutoAssignerNewDotQualityUsed to assign quality issues to engineersAwaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2

Type

No type
No fields configured for issues without a type.

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions