Repository navigation
Description
Problem
The Exported to Search filter cannot distinguish an accounting integration from an export template with the same name. For example, exporting a report through a custom template named NetSuite makes it match exportedTo:NetSuite, even if the report has never actually been exported or manually marked as exported to the NetSuite accounting integration.
Consequently, -exportedTo:NetSuite hides template-only reports. This also prevents those reports from being selected for bulk Mark as exported to NetSuite from that filtered view.
Steps to reproduce
- Use a workspace connected to NetSuite and an export template named exactly
NetSuite. - Export an otherwise eligible expense report through that template only; do not export or manually mark it as exported to the accounting integration.
- Search for the report using
exportedTo:NetSuite. - Search again using
-exportedTo:NetSuite.
Actual result
The template-only report matches the positive accounting-destination filter and is excluded by the negative filter because the names match.
Expected result
- Accounting-destination filters distinguish actual/manual accounting exports from template exports, even when their names are identical.
- Users can separately search for exports through the same-named template.
- The picker lets users distinguish the integration from the template without exposing implementation-specific prefixes in display names.
Acceptance criteria
-
exportedTo:NetSuitematches actual NetSuite exports and reports manually marked as exported to NetSuite, but not template-only exports. -
-exportedTo:NetSuiteretains template-only reports while excluding actual/manual NetSuite exports. - A separate template selection returns reports exported through the template named
NetSuite. - Picker selections and saved/reopened searches preserve the distinction.
- Regression coverage includes template-only, accounting-only, manual-mark-only, both kinds of export, and no-export reports.
- Other accounting destinations and templates without naming collisions continue to work.
Workaround
For bulk Mark as exported to NetSuite, remove -exportedTo:NetSuite while retaining the workspace and other desired filters. Reports already actually exported or manually marked as exported to NetSuite should still be skipped by the bulk action.
Verification status
Filed from the reported behavior; not independently reproduced during issue creation. This tracks the Search distinction separately from bulk-marking eligibility.
Activity