Commit d8496d0
authored
Skip search results page if there’s a single result (#250)
This skips the search results page if there’s a single result and
instead goes straight to the patient details page.
If there are multiple results, or no results, then different pages are
shown, as before.
In future, if we are able to show the details of multiple matches, then
we could bring something like this back.
## Page removed
<img width="1042" alt="Screenshot 2025-03-11 at 09 27 19"
src="https://github.com/user-attachments/assets/23edc62d-5b43-4147-818b-d7c491cfced7"
/>1 parent e510d31 commit d8496d0
2 files changed
+6
-53
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
215 | 215 | | |
216 | 216 | | |
217 | 217 | | |
218 | | - | |
| 218 | + | |
219 | 219 | | |
220 | 220 | | |
221 | 221 | | |
| |||
257 | 257 | | |
258 | 258 | | |
259 | 259 | | |
260 | | - | |
| 260 | + | |
| 261 | + | |
261 | 262 | | |
262 | | - | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
263 | 266 | | |
264 | 267 | | |
265 | 268 | | |
| |||
This file was deleted.
0 commit comments