Commit 7b5ab5d
Fix navigation arrows disappearing during report browsing
Background search calls (useSearchHighlightAndScroll, useSearchPageSetup)
overwrote REPORT_NAVIGATION_LAST_SEARCH_QUERY with a different search
type, causing prev/next arrows to hide.
Flip shouldUpdateLastSearchParams default to false in search() so
background calls no longer overwrite the navigation context. Persist
params explicitly when user selects an expense report row (onSelectRow)
and when arrows prefetch more results (goToNextReport).
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 1d7d446 commit 7b5ab5d
3 files changed
Lines changed: 16 additions & 1 deletion
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| 87 | + | |
87 | 88 | | |
88 | 89 | | |
89 | 90 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
1136 | 1137 | | |
1137 | 1138 | | |
1138 | 1139 | | |
| 1140 | + | |
| 1141 | + | |
| 1142 | + | |
| 1143 | + | |
| 1144 | + | |
| 1145 | + | |
| 1146 | + | |
| 1147 | + | |
| 1148 | + | |
| 1149 | + | |
1139 | 1150 | | |
1140 | 1151 | | |
1141 | 1152 | | |
| |||
1176 | 1187 | | |
1177 | 1188 | | |
1178 | 1189 | | |
| 1190 | + | |
| 1191 | + | |
| 1192 | + | |
1179 | 1193 | | |
1180 | 1194 | | |
1181 | 1195 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
516 | 516 | | |
517 | 517 | | |
518 | 518 | | |
519 | | - | |
| 519 | + | |
520 | 520 | | |
521 | 521 | | |
522 | 522 | | |
| |||
0 commit comments