mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-21 09:00:12 +01:00
🎨 Add Relation column to database table view https://github.com/siyuan-note/siyuan/issues/9888
This commit is contained in:
parent
66584d8a8a
commit
507fe1637f
1 changed files with 1 additions and 1 deletions
|
|
@ -839,12 +839,12 @@ func updateAttributeViewColRelation(operation *Operation) (err error) {
|
||||||
AvID: operation.ID,
|
AvID: operation.ID,
|
||||||
IsTwoWay: operation.IsTwoWay,
|
IsTwoWay: operation.IsTwoWay,
|
||||||
}
|
}
|
||||||
|
|
||||||
if operation.IsTwoWay {
|
if operation.IsTwoWay {
|
||||||
srcRel.BackKeyID = operation.BackRelationKeyID
|
srcRel.BackKeyID = operation.BackRelationKeyID
|
||||||
} else {
|
} else {
|
||||||
srcRel.BackKeyID = ""
|
srcRel.BackKeyID = ""
|
||||||
}
|
}
|
||||||
|
keyValues.Key.Relation = srcRel
|
||||||
|
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue