Skip to content

Commit

Permalink
Merge pull request #13913 from pemaier/pemaier-patch-8-1
Browse files Browse the repository at this point in the history
Update category.php - autocomplete limit config centralized, similar …
  • Loading branch information
danielkerr committed May 11, 2024
2 parents aa26192 + 2be4a72 commit ff6ca93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion upload/admin/controller/catalog/category.php
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ public function autocomplete(): void {
'sort' => 'name',
'order' => 'ASC',
'start' => 0,
'limit' => 5
'limit' => $this->config->get('config_autocomplete_limit')
];

$results = $this->model_catalog_category->getCategories($filter_data);
Expand Down

0 comments on commit ff6ca93

Please sign in to comment.