Skip to content

Commit 18c08e6

Browse files
authored
Merge pull request Expensify#68470 from Expensify/cmartins-supportReport-ID
Support report-id syntax
2 parents ecd8ba7 + b86ca4e commit 18c08e6

8 files changed

Lines changed: 584 additions & 566 deletions

File tree

src/CONST/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6473,7 +6473,7 @@ const CONST = {
64736473
TAX_RATE: 'tax-rate',
64746474
CARD_ID: 'card',
64756475
FEED: 'feed',
6476-
REPORT_ID: 'reportid',
6476+
REPORT_ID: 'report-id',
64776477
KEYWORD: 'keyword',
64786478
IN: 'in',
64796479
SUBMITTED: 'submitted',

src/libs/SearchParser/autocompleteParser.js

Lines changed: 289 additions & 278 deletions
Large diffs are not rendered by default.

src/libs/SearchParser/baseRules.peggy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ date = "date"i { return "date"; }
1919
amount = "amount"i { return "amount"; }
2020
merchant = "merchant"i { return "merchant"; }
2121
description = "description"i { return "description"; }
22-
reportID = "reportid"i { return "reportID"; }
22+
reportID = "reportid"i / "report-id"i { return "reportID"; }
2323
keyword = "keyword"i { return "keyword"; }
2424
in = "in"i { return "in"; }
2525
currency = "currency"i { return "currency"; }

0 commit comments

Comments
 (0)