Skip to content

Commit

Permalink
Merge pull request #13912 from pemaier/pemaier-patch-8-2
Browse files Browse the repository at this point in the history
Update download.php - autocomplete limit config centralized, similar …
  • Loading branch information
danielkerr committed May 10, 2024
2 parents 0794ea2 + 62108e4 commit aa26192
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion upload/admin/controller/catalog/download.php
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,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_download->getDownloads($filter_data);
Expand Down

0 comments on commit aa26192

Please sign in to comment.