From 6d4e5175db601b54bc366486c27e3fa6b1407dd5 Mon Sep 17 00:00:00 2001 From: ppprism <100579739+ppprism@users.noreply.github.com> Date: Wed, 23 Mar 2022 15:17:11 +0000 Subject: [PATCH] increase autocomplete dialog album count (#2152) --- frontend/src/dialog/photo/album.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/frontend/src/dialog/photo/album.vue b/frontend/src/dialog/photo/album.vue index 3e61a697e..3263a9b98 100644 --- a/frontend/src/dialog/photo/album.vue +++ b/frontend/src/dialog/photo/album.vue @@ -105,9 +105,13 @@ export default { this.loading = true; + // todo: either introduce infinite flag or + // make count parameter optional for REST API + const MAX_COUNT = 10000; + const params = { q: q, - count: 1000, + count: MAX_COUNT, offset: 0, type: "album" };