mirror of
https://github.com/anyproto/anytype-heart.git
synced 2025-06-07 21:37:04 +09:00
GO-3965 Add mentions in relation links
This commit is contained in:
parent
14fc624a4e
commit
af547b6da6
2 changed files with 3 additions and 3 deletions
|
@ -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 {
|
||||
|
|
|
@ -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": {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue