mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-18 23:50:13 +01:00
🎨 Supports searching database view content https://github.com/siyuan-note/siyuan/issues/9419
This commit is contained in:
parent
fd94e9df0c
commit
f6780c126a
1 changed files with 4 additions and 2 deletions
|
|
@ -83,8 +83,10 @@ func pushTransactions(app, session string, transactions []*model.Transaction) {
|
||||||
pushMode := util.PushModeBroadcastExcludeSelf
|
pushMode := util.PushModeBroadcastExcludeSelf
|
||||||
if 0 < len(transactions) && 0 < len(transactions[0].DoOperations) {
|
if 0 < len(transactions) && 0 < len(transactions[0].DoOperations) {
|
||||||
model.WaitForWritingFiles()
|
model.WaitForWritingFiles()
|
||||||
if strings.Contains(strings.ToLower(transactions[0].DoOperations[0].Action), "attrview") {
|
if action := transactions[0].DoOperations[0].Action; strings.Contains(strings.ToLower(action), "attrview") {
|
||||||
pushMode = util.PushModeBroadcast
|
if "setAttrViewName" != action {
|
||||||
|
pushMode = util.PushModeBroadcast
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue