Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: The marketplace supports searching https://github.com/siyuan-note/siyuan/issues/8173

Daniel7654f25a5b88
diff --git a/kernel/model/bazzar.go b/kernel/model/bazzar.go
index 2d90369367..eefdac9ce2 100644
--- a/kernel/model/bazzar.go
+++ b/kernel/model/bazzar.go
@@ -346,6 +346,10 @@ func UninstallBazaarTemplate(templateName string) error {
}
func matchPackage(keywords []string, pkg *bazaar.Package) bool {
+ if 1 > len(keywords) {
+ return true
+ }
+
for _, keyword := range keywords {
if strings.Contains(strings.ToLower(pkg.DisplayName.Default), keyword) ||
strings.Contains(strings.ToLower(pkg.DisplayName.ZhCN), keyword) ||