Fix stale searchText in search submit handler (#10251)

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>


Author Eric Bailey Co-author Claude Opus 4.6 (1M context) Committer GitHub Date Commit Parent eee2df6d
+12 -10
1 changed file
+12 -10
1 changed file