mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-02 23:08:49 +01:00
🎨 Supports searching database blocks by the view title https://github.com/siyuan-note/siyuan/issues/9348
This commit is contained in:
parent
5e38fe4335
commit
3c67701681
9 changed files with 73 additions and 41 deletions
|
|
@ -604,6 +604,7 @@ func buildTypeFilter(types map[string]bool) string {
|
|||
s.Paragraph = types["paragraph"]
|
||||
s.HTMLBlock = types["htmlBlock"]
|
||||
s.EmbedBlock = types["embedBlock"]
|
||||
s.DatabaseBlock = types["databaseBlock"]
|
||||
} else {
|
||||
s.Document = Conf.Search.Document
|
||||
s.Heading = Conf.Search.Heading
|
||||
|
|
@ -617,6 +618,7 @@ func buildTypeFilter(types map[string]bool) string {
|
|||
s.Paragraph = Conf.Search.Paragraph
|
||||
s.HTMLBlock = Conf.Search.HTMLBlock
|
||||
s.EmbedBlock = Conf.Search.EmbedBlock
|
||||
s.DatabaseBlock = Conf.Search.DatabaseBlock
|
||||
}
|
||||
return s.TypeFilter()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue