Skip to content

[No QA] Revert "Fixed required columns list + Fixed parser for default sortBy and column name parsing"#81183

Closed
cristipaval wants to merge 1 commit intomainfrom
revert-81127-groupBy-cleanup
Closed

[No QA] Revert "Fixed required columns list + Fixed parser for default sortBy and column name parsing"#81183
cristipaval wants to merge 1 commit intomainfrom
revert-81127-groupBy-cleanup

Conversation

@cristipaval
Copy link
Contributor

Reverts #81127

@cristipaval cristipaval self-assigned this Feb 2, 2026
@cristipaval cristipaval requested review from a team as code owners February 2, 2026 14:44
@melvin-bot melvin-bot bot requested review from madmax330 and trjExpensify and removed request for a team February 2, 2026 14:44
@melvin-bot
Copy link

melvin-bot bot commented Feb 2, 2026

@madmax330 Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button]

@cristipaval cristipaval closed this Feb 2, 2026
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 278c43d5ee

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment on lines +149 to +152
groupMonth = "group-month"i &wordBoundary { return "groupMonth"; }
groupWeek = "group-week"i &wordBoundary { return "groupWeek"; }
groupYear = "group-year"i &wordBoundary { return "groupYear"; }
groupQuarter = "group-quarter"i &wordBoundary { return "groupQuarter"; }

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Keep group column tokens aligned with CONST values

These rules now return groupMonth/groupWeek/groupYear/groupQuarter, but the canonical column IDs are lowercase (groupmonth/groupweek/groupyear/groupquarter in src/CONST/index.ts:7156-7159). As a result, queries like columns:group-month or sortBy:group-month will parse to values that don’t exist in SearchUIUtils’s column-to-sorting maps, so columns get ignored and group sort falls back to unsorted data. This is a behavioral regression for users who rely on group-* columns or sortBy with month/week/year/quarter.

Useful? React with 👍 / 👎.

@codecov
Copy link

codecov bot commented Feb 2, 2026

Codecov Report

❌ Looks like you've decreased code coverage for some files. Please write tests to increase, or at least maintain, the existing level of code coverage. See our documentation here for how to interpret this table.

Files with missing lines Coverage Δ
src/libs/SearchParser/autocompleteParser.js 57.03% <100.00%> (ø)
src/libs/SearchParser/searchParser.js 72.59% <100.00%> (-11.45%) ⬇️
src/pages/Search/SearchColumnsPage.tsx 0.00% <ø> (ø)
src/styles/utils/index.ts 49.70% <ø> (-0.08%) ⬇️
... and 8 files with indirect coverage changes

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant