8 months ago
4
Topic

Hello

There is a new behaviour in the seblod seach with the artice language field in the search form and the VARIABLE live value plugin.

on a multi language (french / english) site If you activate the debug you see the SQL :

AND t2.language LIKE '%*%'

instead of AND t2.language LIKE '%fr%'


if you DEACTIVATE the SEF the debug shows AND t2.language LIKE '%fr%' 


So the live value plugin is no longer able to retrieve the url variable when the SEF settings are ON


How can it be fixed please?

thanks

cyril

Get a Book for SEBLOD
8 months ago
1
Level 1

Hi Cyril,

Could you confirm your environment : Joomla/SEBLOD/Php versions ?

Thx

8 months ago
0
Level 2

Hi Olivier 

Joomla 4.4.2 + seblod 4.3.1 + php 8.1.27

thanks

8 months ago
0
Level 1

Hi Cyril,

Changing 'lang' to 'language' as the variable value to retrieve in the live option for the article language fixes the issue.

Done & tested on your website.

I haven't done further digging for this to check what has changed from previous Joomla/SEBLDO Versions.

Regards

8 months ago
0
Level 1

Hi Olivier 

thanks for the tip, you are right it is working but shouldn't. The Real url variable is 'lang' not 'language'

I fear we modify all our code with this workaround you found to change it again when the real fix is found

thanks

Get a VIP membership