From b4e831c8d6a8513d3c4b56153213af19827b0b1c Mon Sep 17 00:00:00 2001 From: "Patrik J. Braun" Date: Sun, 2 May 2021 08:51:11 +0200 Subject: [PATCH] Increasing max items per search result (also adding it to the UI) --- src/common/config/public/ClientConfig.ts | 2 +- .../ui/settings/search/search.settings.component.html | 9 ++++++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/common/config/public/ClientConfig.ts b/src/common/config/public/ClientConfig.ts index 85a7ef5d..6ab0e19c 100644 --- a/src/common/config/public/ClientConfig.ts +++ b/src/common/config/public/ClientConfig.ts @@ -28,7 +28,7 @@ export class ClientSearchConfig { @ConfigProperty() AutoComplete: AutoCompleteConfig = new AutoCompleteConfig(); @ConfigProperty({type: 'unsignedInt'}) - maxMediaResult: number = 2000; + maxMediaResult: number = 10000; @ConfigProperty({type: 'unsignedInt'}) maxDirectoryResult: number = 200; } diff --git a/src/frontend/app/ui/settings/search/search.settings.component.html b/src/frontend/app/ui/settings/search/search.settings.component.html index b8e07696..69b5dc89 100644 --- a/src/frontend/app/ui/settings/search/search.settings.component.html +++ b/src/frontend/app/ui/settings/search/search.settings.component.html @@ -36,14 +36,17 @@ + [ngModel]="states.maxMediaResult" + [simplifiedMode]="simplifiedMode" + required="true"> +
Search is not supported with these settings