Hi,
Thanks for the report and sorry for the delay.
The "brand" namebox is using the same code than for the categories and the function "findList" was missing in the category controller while the function "getTree" is generally used.
That function is just used when you have more than 200 brands (and that's the main reason why we lost it during our tests).
So in the file "administrator/components/com_hikashop/controllers/category.php" you need to replace
$this->display[] = 'getTree';
By
$this->display[] = 'getTree';
$this->display[] = 'findList';
And then replace near the end of the file
By
echo '[]';
exit;
}
public function findList() {
$search = JRequest::getVar('search', '');
$type = JRequest::getVar('category_type', '');
$displayFormat = JRequest::getVar('displayFormat', '');
$types = array(
'manufacturer' => 'brand'
);
if(!isset($types[$type])) {
echo '[]';
exit;
}
$type = $types[$type];
$options = array();
if(!empty($displayFormat))
$options['displayFormat'] = $displayFormat;
$nameboxType = hikashop_get('type.namebox');
$elements = $nameboxType->getValues($search, $type, $options);
echo json_encode($elements);
exit;
}
At this moment the search on the namebox will work when you have more than 200 brands.
Regards,