mirror of
https://github.com/xuthus83/pigallery2.git
synced 2025-01-14 14:43:17 +08:00
Increasing max items per search result (also adding it to the UI)
This commit is contained in:
parent
491400523e
commit
b4e831c8d6
@ -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;
|
||||
}
|
||||
|
@ -36,14 +36,17 @@
|
||||
</app-settings-entry>
|
||||
|
||||
<app-settings-entry
|
||||
name="Instant search"
|
||||
description="Enables showing search results, while typing search query."
|
||||
name="Maximum media result"
|
||||
description="Maximum number of photos and videos that listed in one search reasult"
|
||||
i18n-description i18n-name
|
||||
[ngModel]="states.instantSearchEnabled">
|
||||
[ngModel]="states.maxMediaResult"
|
||||
[simplifiedMode]="simplifiedMode"
|
||||
required="true">
|
||||
</app-settings-entry>
|
||||
|
||||
|
||||
|
||||
|
||||
</ng-container>
|
||||
<div class="panel-info" *ngIf="(!states.enabled.value && !settingsService.isSupported())" i18n>
|
||||
Search is not supported with these settings
|
||||
|
Loading…
x
Reference in New Issue
Block a user