mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-24 02:20:13 +01:00
🐛 打开自定义属性搜索选项后出现多余搜索结果 Fix https://github.com/siyuan-note/siyuan/issues/7367
This commit is contained in:
parent
c804e6e020
commit
39f1b4da37
1 changed files with 1 additions and 1 deletions
|
|
@ -735,7 +735,7 @@ func customIALFilter(query string) string {
|
|||
reg := strings.TrimPrefix(query, "\"")
|
||||
reg = strings.TrimSuffix(reg, "\"")
|
||||
reg = regexp.QuoteMeta(reg)
|
||||
reg = "custom\\-.*" + reg + ".*\\=.*" + reg + ".*\""
|
||||
reg = "custom\\-.*" + reg + ".*"
|
||||
return " AND ial REGEXP '" + reg + "'"
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue