We implemented a solution that fixes our issue.
We changed the view.html.php file in the itemlist view
At line 35, we added the following:
$lang = JFactory::getLanguage()->getTag();
And at line 226, the code changes to:
// Categories
$categories[] = "";
$database->setQuery("SELECT id AS value, title AS text FROM #__categories WHERE extension='"
. $input->get('option') . "' AND access IN (" . $groups . ") AND language IN ('*','".$lang."') AND published = 1 ORDER BY lft");
$catList = $database->loadObjectList();
$catIds = array();
foreach($catList as $catL) { $catIds[] = $catL->value; }
$categories[] = JHTML::_('select.option', implode(',',$catIds), JTEXT::_('COM_MATUKIO_ALL_CATS'));
$categs = array_merge($categories, (array) $catList);
$this->categories = $categs;
The above requires a change to javascript file eventlist.jquery.js , at line 324 , the code changes to:
holder.filter_categories.val(function(i,val) {
if (val == 0) {
return catid;
} else {
var catArr = catid.split(",");
var valArr = val.split(",");
var lookup = {};
for(var j = 0; j < valArr.length; j += 1) {
lookup[valArr[j]] = valArr[j];
}
for(var i = 0; i < catArr.length; i += 1) {
if (typeof lookup[catArr[i]] == 'undefined') {
val = val + (val ? ',' : '') + catArr[i];
}
}
return val;
}
});