Language switcher (locale_block) doesn't keep query parameters

Created on 14 July 2010, almost 15 years ago
Updated 4 July 2023, almost 2 years ago

If the visited path has query parameters the language switchers ignores them when generating the links to the other languages. Patch passes query parameters to theme('links').

πŸ› Bug report
Status

Closed: cannot reproduce

Version

11.0 πŸ”₯

Component
LocaleΒ  β†’

Last updated 4 days ago

Created by

πŸ‡§πŸ‡ͺBelgium Jax

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡³πŸ‡ΏNew Zealand quietone

    I tested this on Drupal 11.x today and find that the language switcher does retain the query parameters.

    Therefore, closing as cannot reproduce. If you are experiencing this problem on a supported version of Drupal reopen the issue, by setting the status to 'Active', and provide complete steps to reproduce the issue β†’ (starting from "Install Drupal core").

    Thanks!

Production build 0.71.5 2024