1. Alter jos_jtags_tags mysql table. Change field "name" from varchar(30) to varchar (255)
2. Edit file "administrator/components/com_search/helpers/search.php"
replace the next lines:
if ( JString::strlen( $searchword ) > 20 ) {
$searchword = JString::substr( $searchword, 0, 19 );
$restriction = true;
}
with the next lines:
if ( JString::strlen( $searchword ) > 255 ) {
$searchword = JString::substr( $searchword, 0, 254 );
$restriction = true;
}
3. Edit file "plugins/content/jtags.php"
replace the next line:
$formattedName = str_replace(" ", "+", substr($tag->name, 0, 20));
with the next line:
$formattedName = str_replace(" ", "+", substr($tag->name, 0, 255));
4. Edit file "components/com_search/views/search/tmpl/default_form.php"
replace the next line:
with the next line:
5. Edit file "modules/mod_jtags/mod_jtags.php"
replace the next line:
$formattedName = str_replace(" ", "+", substr($row->name, 0, 20));
with the next line:
$formattedName = str_replace(" ", "+", substr($row->name, 0, 255));