diff --git a/core/block/editor/smartblock/links.go b/core/block/editor/smartblock/links.go index e615ad199..315ed3493 100644 --- a/core/block/editor/smartblock/links.go +++ b/core/block/editor/smartblock/links.go @@ -50,7 +50,7 @@ func (sb *smartBlock) injectMentions(s *state.State) { NoImages: true, }) mentions = slice.RemoveMut(mentions, sb.Id()) - s.SetLocalDetail(bundle.RelationKeyMentions.String(), pbtypes.StringList(mentions)) + s.SetDetailAndBundledRelation(bundle.RelationKeyMentions, pbtypes.StringList(mentions)) } func isBacklinksChanged(msgs []simple.EventMessage) bool { diff --git a/docs/ComplexFilters.md b/docs/ComplexFilters.md index 64b0cc93f..ea94310ce 100644 --- a/docs/ComplexFilters.md +++ b/docs/ComplexFilters.md @@ -4,7 +4,7 @@ The majority of search filters for ObjectSearch-requests have simple format `key ```json { "RelationKey": "type", - "condition": 2, // equals + "condition": 2, // is not equal "value": { "stringValue": "ot-page" } @@ -45,7 +45,7 @@ All objects that has similar name and description: ```json { "RelationKey": "name", - "condition": 1, + "condition": 1, // equals "value": { "structValue": { "fields": {