Hi folks
I'm building a custom Gantry template based on Helium. I've "imported" Notio's search particle to it and everything is working fine except for one single thing: as my site is a multilanguage one, when the search form is sent it should get "&lang=LANG_TAG" added to the URL, so the search page is loaded in the user's current language. Well, I've noticed that the URL form action URL is being wrongly built, as what I can see in my browser is
http://mydomain.com/index.php?option=com_search&lang=es
I've tried hardcoding it into MYTEMPLATE/custom/particles/search.html.twig this way
{% if gantry.platform.name == "joomla" %}
<form action="{{ joomla.route('index.php?option=com_search&ItemID=123&lang=es' }}" method="post">
but it gets '&' replaced by '&' once and again.
Is there any workaround or alternative way to get the action url so it get's the parameters correctly parsed with '&' instead of '&'?
Thanks in advance!