🎨 调整虚拟引用搜索设置项后立即重置缓存 https://github.com/siyuan-note/siyuan/issues/7378

This commit is contained in:
Liang Ding 2023-02-17 15:17:25 +08:00
parent 4485cc1f1d
commit 5f72a7b2cd
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
3 changed files with 26 additions and 32 deletions

View file

@ -274,8 +274,8 @@ func queryDocIDsByTitle(title string, excludeIDs []string) (ret []string) {
func queryDocTitles() (ret []string) {
ret = []string{}
sqlStmt := "SELECT content FROM blocks WHERE type = 'd' LIMIT ?"
rows, err := query(sqlStmt, 10240)
sqlStmt := "SELECT content FROM blocks WHERE type = 'd'"
rows, err := query(sqlStmt)
if nil != err {
logging.LogErrorf("sql query [%s] failed: %s", sqlStmt, err)
return