?
avatar AlexeyGal
AlexeyGal
29 Nov 2020

in Joomla version 3.9.22, AJAX smart search suggestions worked, but after updating to Joomla 3.9.23, AJAX stopped working.
problem in the file /public_html/components/com_finder/models/suggestions.php from the Joomla 3.9.23 update

In the file components\com_finder\models\suggestions.php changing to

// connecting the class after at the beginning of the file defined('_JEXEC') or die;
use Joomla\String\StringHelper;

//replacing the bug code with a good one
//$mappingTableSuffix = substr(md5(substr($this->getState('input'), 0, 1)), 0, 1);
$mappingTableSuffix = StringHelper::substr(md5(StringHelper::substr($this->getState('input'), 0, 1)), 0, 1);
avatar AlexeyGal AlexeyGal - open - 29 Nov 2020
avatar joomla-cms-bot joomla-cms-bot - change - 29 Nov 2020
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 29 Nov 2020
avatar HLeithner
HLeithner - comment - 29 Nov 2020

Thank @AlexeyGal to figure this out, can you create a pull request?

avatar AlexeyGal
AlexeyGal - comment - 29 Nov 2020

Thank @AlexeyGal to figure this out, can you create a pull request?

Yes. I create pull request now

avatar AlexeyGal AlexeyGal - change - 29 Nov 2020
Title
Bug in AJAX smart search with Cyrillic words
Fix bug in AJAX smart search with Cyrillic words
avatar AlexeyGal AlexeyGal - edited - 29 Nov 2020
avatar bembelimen bembelimen - change - 30 Nov 2020
Status New Closed
Closed_Date 0000-00-00 00:00:00 2020-11-30 01:41:34
Closed_By bembelimen
avatar bembelimen bembelimen - close - 30 Nov 2020
avatar bembelimen
bembelimen - comment - 30 Nov 2020

Closed as having a PR: #31533

Add a Comment

Login with GitHub to post a comment