diff --git a/app/changelogs/v2.11.4/v2.11.4.md b/app/changelogs/v2.11.4/v2.11.4.md index 232121fe5..045c3fc4e 100644 --- a/app/changelogs/v2.11.4/v2.11.4.md +++ b/app/changelogs/v2.11.4/v2.11.4.md @@ -35,6 +35,7 @@ Below are the detailed changes in this version. * [Adjust the width of recent documents](https://github.com/siyuan-note/siyuan/issues/9960) * [Improve UI](https://github.com/siyuan-note/siyuan/issues/9963) * [`Convert network assets to local` no longer process webpage](https://github.com/siyuan-note/siyuan/issues/9965) +* [Improve flashcard style](https://github.com/siyuan-note/siyuan/issues/9968) ### Bugfix diff --git a/app/changelogs/v2.11.4/v2.11.4_zh_CHT.md b/app/changelogs/v2.11.4/v2.11.4_zh_CHT.md index 257ba9653..54f09a4b9 100644 --- a/app/changelogs/v2.11.4/v2.11.4_zh_CHT.md +++ b/app/changelogs/v2.11.4/v2.11.4_zh_CHT.md @@ -33,6 +33,7 @@ * [調整最近文件寬度](https://github.com/siyuan-note/siyuan/issues/9960) * [改進介面](https://github.com/siyuan-note/siyuan/issues/9963) * [`轉換網路檔案到本地` 不再處理網頁](https://github.com/siyuan-note/siyuan/issues/9965) +* [改良閃卡樣式](https://github.com/siyuan-note/siyuan/issues/9968) ### 修復缺陷 diff --git a/app/changelogs/v2.11.4/v2.11.4_zh_CN.md b/app/changelogs/v2.11.4/v2.11.4_zh_CN.md index 2d1ce2008..bd93ee025 100644 --- a/app/changelogs/v2.11.4/v2.11.4_zh_CN.md +++ b/app/changelogs/v2.11.4/v2.11.4_zh_CN.md @@ -33,6 +33,7 @@ * [调整最近文档宽度](https://github.com/siyuan-note/siyuan/issues/9960) * [改进界面](https://github.com/siyuan-note/siyuan/issues/9963) * [`转换网络文件到本地` 不再处理网页](https://github.com/siyuan-note/siyuan/issues/9965) +* [改进闪卡样式](https://github.com/siyuan-note/siyuan/issues/9968) ### 修复缺陷 diff --git a/kernel/av/table.go b/kernel/av/table.go index 3c9d11658..830d4e740 100644 --- a/kernel/av/table.go +++ b/kernel/av/table.go @@ -614,7 +614,7 @@ func (value *Value) CompareOperator(other *Value, operator FilterOperator) bool contains := false for _, c := range value.Relation.Contents { for _, c1 := range other.Relation.Contents { - if c == c1 { + if strings.Contains(c, c1) { contains = true break } @@ -624,8 +624,8 @@ func (value *Value) CompareOperator(other *Value, operator FilterOperator) bool case FilterOperatorDoesNotContain: contains := false for _, c := range value.Relation.Contents { - for _, c2 := range other.Relation.Contents { - if c == c2 { + for _, c1 := range other.Relation.Contents { + if strings.Contains(c, c1) { contains = true break }