Octopoos / SEBLOD

Build high-end websites with SEBLOD®, a CCK for Joomla!
https://www.seblod.com
GNU General Public License v2.0
129 stars 54 forks source link

Seblod 4 / J4: $uri no more usable in "SQL" fields Search Query and SQL pack #722

Open Giuse69 opened 1 year ago

Giuse69 commented 1 year ago

In Seblod 3 on Joomla 3, I have an extremely wide use of $uri->get('lang') to retrieve current language in various SQL fields (Search Query, SQL Query) and use it to complete the query. Now in Seblod 4 on Joomla 4 this is no more possible:

thanks

Giuse

Giuse69 commented 1 year ago

Investigating Seblod code, I found that instead of (no more working with SEF enabled) $uri->get('lang') it is possible to use $lang->getTag() I do not close the issue since in Seblod 3 on Joomla 3, the full $uri was available also with SEF enabled, to let Octopoos give a feedback on this. For example also Live Value = Uri/Variable using "lang" as variable does not work anymore.