Commit c8bc11c
authored
fix(search): Avoid reassigning derived selectedSort in search sort handler (#1319)
The search page was mutating `selectedSort` even though it is computed via `$derived.by(...)`.
This change removes that mutation path and updates only URL params so sort state is recomputed from `page.url` consistently.1 parent ba75b8f commit c8bc11c
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
| 88 | + | |
89 | 89 | | |
90 | | - | |
| 90 | + | |
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| |||
0 commit comments