Problem
Classic shows expense count + total when selecting all matching expenses. NewDot Select all matching items sets areAllMatchingItemsSelected but shows no numeric count/total for ad-hoc filters (only saved searches + suggested-search tabs get server totals today).
Expected
Select all matching → show full-result count and total (count only when total can't be converted — same as Classic mixed-currency behavior).
Solution
Auth already returns search.count / search.total / search.currency when shouldCalculateTotals: true. Wire it up:
useSearchShouldCalculateTotals — return true when areAllMatchingItemsSelected
- Refetch Search at
offset: 0 with shouldCalculateTotals: true if count missing after select-all (keep totals on offset === 0 only)
SearchSelectionFooter — show footer + server metadata when select-all active
SearchBulkActionsButton — "X selected" from metadata.count, not generic "All matching items selected"
SearchPageFooter — hide total row when undefined (e.g. withdrawal-ID grouping)
Upwork Automation - Do Not Edit
Problem
Classic shows expense count + total when selecting all matching expenses. NewDot Select all matching items sets
areAllMatchingItemsSelectedbut shows no numeric count/total for ad-hoc filters (only saved searches + suggested-search tabs get server totals today).Expected
Select all matching → show full-result count and total (count only when total can't be converted — same as Classic mixed-currency behavior).
Solution
Auth already returns
search.count/search.total/search.currencywhenshouldCalculateTotals: true. Wire it up:useSearchShouldCalculateTotals— returntruewhenareAllMatchingItemsSelectedoffset: 0withshouldCalculateTotals: trueif count missing after select-all (keep totals onoffset === 0only)SearchSelectionFooter— show footer + server metadata when select-all activeSearchBulkActionsButton—"X selected"frommetadata.count, not generic "All matching items selected"SearchPageFooter— hide total row when undefined (e.g. withdrawal-ID grouping)Upwork Automation - Do Not Edit