From 1b03cc48d64fa374861a5674c0325f63bca82f54 Mon Sep 17 00:00:00 2001 From: Ryan Welch Date: Tue, 10 Jan 2023 11:46:13 +0000 Subject: [PATCH] Reset page when searching for new tag (#550) --- internal/view/js/page/home.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/view/js/page/home.js b/internal/view/js/page/home.js index 722ac6e50..cd522988d 100644 --- a/internal/view/js/page/home.js +++ b/internal/view/js/page/home.js @@ -305,6 +305,7 @@ export default { if (tagName === "*") { this.search = excludeMode ? "-tag:*" : "tag:*"; + this.page = 1; this.loadData(); return; } @@ -344,6 +345,7 @@ export default { } } + this.page = 1; this.loadData(); }, showDialogAdd() {