Skip to content

Commit

Permalink
Merge pull request #13908 from pemaier/pemaier-patch-8-6
Browse files Browse the repository at this point in the history
Update manufacturer.php - autocomplete limit config centralized, simi…
  • Loading branch information
danielkerr committed May 10, 2024
2 parents 5513a75 + fd8b09c commit f00866d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion upload/admin/controller/catalog/manufacturer.php
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ public function autocomplete(): void {
$filter_data = [
'filter_name' => $this->request->get['filter_name'],
'start' => 0,
'limit' => 5
'limit' => $this->config->get('config_autocomplete_limit')
];

$results = $this->model_catalog_manufacturer->getManufacturers($filter_data);
Expand Down

0 comments on commit f00866d

Please sign in to comment.