Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
Daniel 2025-12-06 16:31:15 +08:00
parent c1cdb9846c
commit 362f6ffa05
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
2 changed files with 10 additions and 0 deletions

View file

@ -1433,6 +1433,7 @@ func buildTypeFilter(types map[string]bool) string {
s.VideoBlock = types["videoBlock"]
s.IFrameBlock = types["iframeBlock"]
s.WidgetBlock = types["widgetBlock"]
s.Callout = types["callout"]
} else {
s.Document = Conf.Search.Document
s.Heading = Conf.Search.Heading
@ -1451,6 +1452,7 @@ func buildTypeFilter(types map[string]bool) string {
s.VideoBlock = Conf.Search.VideoBlock
s.IFrameBlock = Conf.Search.IFrameBlock
s.WidgetBlock = Conf.Search.WidgetBlock
s.Callout = Conf.Search.Callout
}
return s.TypeFilter()
}