From 59f91dfc5486186d593b1f9beaddea6dc27b146c Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Wed, 28 Feb 2024 09:21:25 +0800 Subject: [PATCH] :bug: Search type "database" cannot be saved https://github.com/siyuan-note/siyuan/issues/10462 --- kernel/model/storage.go | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/kernel/model/storage.go b/kernel/model/storage.go index 8cfbf17b7..397dc1339 100644 --- a/kernel/model/storage.go +++ b/kernel/model/storage.go @@ -174,18 +174,19 @@ type Criterion struct { } type CriterionTypes struct { - MathBlock bool `json:"mathBlock"` - Table bool `json:"table"` - Blockquote bool `json:"blockquote"` - SuperBlock bool `json:"superBlock"` - Paragraph bool `json:"paragraph"` - Document bool `json:"document"` - Heading bool `json:"heading"` - List bool `json:"list"` - ListItem bool `json:"listItem"` - CodeBlock bool `json:"codeBlock"` - HtmlBlock bool `json:"htmlBlock"` - EmbedBlock bool `json:"embedBlock"` + MathBlock bool `json:"mathBlock"` + Table bool `json:"table"` + Blockquote bool `json:"blockquote"` + SuperBlock bool `json:"superBlock"` + Paragraph bool `json:"paragraph"` + Document bool `json:"document"` + Heading bool `json:"heading"` + List bool `json:"list"` + ListItem bool `json:"listItem"` + CodeBlock bool `json:"codeBlock"` + HtmlBlock bool `json:"htmlBlock"` + EmbedBlock bool `json:"embedBlock"` + DatabaseBlock bool `json:"databaseBlock"` } type CriterionReplaceTypes struct {