Closed (duplicate)
Project:
Language Switcher Dropdown
Version:
6.x-1.6
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Sep 2011 at 19:08 UTC
Updated:
29 Jun 2012 at 15:53 UTC
[edited]
See #1 below - $query is ignored when re-generating target urls.
Comments
Comment #1
andy inman commentedOk, I've tracked down what's going on. The hook is called at line 72:
... but later the url is rebuilt, and ignores any query string that was added to the url. So, I'll call this a bug :)
Line 83:
... needs to include the $query element:
Note the addition of 'query' => $lang_option['query']. A similar change is needed at line 80.
I'll produce a patch.
Comment #2
manfer commentedI can't see query in lang_option. To add query strings to the switcher follow http://drupal.org/node/1283948
Comment #2.0
manfer commentedRemoved irrelevant info