Commit c7aeaec
committed
Preserve query string when switching language
The language switcher captured `request.path` for the current page,
which strips the query string. Switching language on a page like
/orchard/get-a-pod?pod=home redirected to /orchard/get-a-pod
without the pod parameter, breaking the destination route.
Use request.full_path so the query string is preserved across the
language switch.1 parent f2ac349 commit c7aeaec
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
| 96 | + | |
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| |||
0 commit comments