From fa8e910bedde03ab4266038c8c666fae57a664a7 Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Thu, 29 Jun 2023 18:06:18 +0800 Subject: [PATCH] :art: `Replace All` is no longer affected by pagination https://github.com/siyuan-note/siyuan/issues/8265 --- kernel/model/search.go | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/model/search.go b/kernel/model/search.go index fe213b878..b49e0500b 100644 --- a/kernel/model/search.go +++ b/kernel/model/search.go @@ -233,6 +233,7 @@ func FindReplace(keyword, replacement string, ids []string, paths, boxes []strin } if 1 > len(ids) { + // `Replace All` is no longer affected by pagination https://github.com/siyuan-note/siyuan/issues/8265 blocks, _, _, _ := FullTextSearchBlock(keyword, boxes, paths, types, method, orderBy, groupBy, 1) for _, block := range blocks { ids = append(ids, block.ID)