You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Due for payment 2026-02-19] [$250] Expenses - Total spend footer appears on Reports > Expenses after saving search with custom columns #78149
Version Number: 9.2.84-0 Reproducible in staging?: Yes Reproducible in production?: Yes If this was caught during regression testing, add the test name, ID and link from BrowserStack:#77673 Email or phone of affected tester (no customers):jsoidjsodijosj@gmail.com Issue reported by: Applause Internal Team Bug source: Pull Request QA execution Device used: Mac 26.1 / Chrome App Component: Search
Please re-state the problem that we are trying to solve in this issue.
The Reports > Expenses view should always hide the total spend footer for the default expenses search
What is the root cause of that problem?
The footer was rendered whenever the search metadata included a result count, regardless of whether the view was the default expenses search. After saving a search with custom columns, the metadata is present, so the footer appears again instead of staying hidden.
In our case, the similarSearchHash between the saved search and Expense tab is the same, even though the saved search has custom column. It's because similarSearchHash doesn't include the custom column and sorting query.
changed the title [-]Expenses - Total spend footer appears on Reports > Expenses after saving search with custom columns[/-][+][$250] Expenses - Total spend footer appears on Reports > Expenses after saving search with custom columns[/+]on Dec 29, 2025
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.3.17-9 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
@ShridharGoel / @brunovjk@laurenreidexpensify The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]
[Contributor] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake.
Link to comment:
[Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner.
Link to discussion:
[Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.
Regression Test Proposal
Test:
Go to workspace chat.
Create an expense.
Go to Reports Expenses.
→ Total spend footer is not shown on Reports Expenses - Expected.
Click Columns.
Select any column and click Save.
Click Filters Save search.
Click Expenses on LHN.
Total spend footer should not appear on Reports Expenses.
Ensure that the footer shows for all suggested searches and saved searches.
Go to Reports Expenses
Select a few expenses.
Ensure that the footer shows when there are selections.
Activity
melvin-bot commentedon Dec 19, 2025
Triggered auto assignment to @laurenreidexpensify (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.ShridharGoel commentedon Dec 19, 2025
Proposal
Please re-state the problem that we are trying to solve in this issue.
The Reports > Expenses view should always hide the total spend footer for the default expenses search
What is the root cause of that problem?
The footer was rendered whenever the search metadata included a result count, regardless of whether the view was the default expenses search. After saving a search with custom columns, the metadata is present, so the footer appears again instead of staying hidden.
App/src/pages/Search/SearchPage.tsx
Lines 891 to 900 in 2157c12
App/src/pages/Search/SearchPageNarrow.tsx
Lines 184 to 240 in 2157c12
What changes do you think we should make in order to solve the problem?
Updated code snippets:
src/pages/Search/SearchPage.tsxsrc/pages/Search/SearchPageNarrow.tsxbernhardoj commentedon Dec 20, 2025
Proposal
Please re-state the problem that we are trying to solve in this issue.
The total footer is shown on the Expense tab after saving a type expense search with custom column and opening that saved search.
What is the root cause of that problem?
The total will be shown if the saved search matches the current similarSearchHash.
App/src/hooks/useSearchShouldCalculateTotals.ts
Lines 37 to 42 in 251ab97
In our case, the similarSearchHash between the saved search and Expense tab is the same, even though the saved search has custom column. It's because similarSearchHash doesn't include the custom column and sorting query.
App/src/libs/SearchQueryUtils.ts
Lines 372 to 377 in 251ab97
I think the real problem here is that the save search is shown for type:expense with custom columns.
The save search button is shown because
isCannedSearchQuerychecks for custom column, but we can see that it doesn't check for sorting query.App/src/libs/SearchQueryUtils.ts
Lines 1326 to 1331 in 251ab97
What changes do you think we should make in order to solve the problem?
We should remove checking the custom column query from
isCannedSearchQuery.melvin-bot commentedon Dec 23, 2025
@laurenreidexpensify Whoops! This issue is 2 days overdue. Let's get this updated quick!
melvin-bot commentedon Dec 24, 2025
@laurenreidexpensify Huh... This is 4 days overdue. Who can take care of this?
melvin-bot commentedon Dec 27, 2025
@laurenreidexpensify 6 days overdue. This is scarier than being forced to listen to Vogon poetry!
[-]Expenses - Total spend footer appears on Reports > Expenses after saving search with custom columns[/-][+][$250] Expenses - Total spend footer appears on Reports > Expenses after saving search with custom columns[/+]melvin-bot commentedon Dec 29, 2025
Job added to Upwork: https://www.upwork.com/jobs/~022005596160519129216
34 remaining items
melvin-bot commentedon Feb 12, 2026
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.3.17-9 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
If no regressions arise, payment will be issued on 2026-02-19. 🎊
For reference, here are some details about the assignees on this issue:
melvin-bot commentedon Feb 12, 2026
@ShridharGoel / @brunovjk @laurenreidexpensify The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]
brunovjk commentedon Feb 17, 2026
BugZero Checklist:
[Contributor] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake.
Link to comment:
[Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner.
Link to discussion:
[Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.
Regression Test Proposal
Test:
Do we agree 👍 or 👎
melvin-bot commentedon Feb 19, 2026
Payment Summary
Upwork Job
BugZero Checklist (@laurenreidexpensify)
ShridharGoel commentedon Feb 19, 2026
Not overdue, just due for payment
laurenreidexpensify commentedon Feb 20, 2026
Payment Summary:
JmillsExpensify commentedon Feb 21, 2026
$250 approved for @ShridharGoel
twisterdotcom commentedon Feb 25, 2026
@brunovjk has submitted payment for this report on ND here.
SO: https://stackoverflowteams.com/c/expensify/questions/7582
Zapier Logs
Run ID: 00040eee-6724-a50a-5fd0-e0f3de552d24