Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
Daniel 2025-12-06 16:46:14 +08:00
parent 362f6ffa05
commit 980f6dd0b8
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
9 changed files with 26 additions and 12 deletions

View file

@ -596,6 +596,14 @@ func graphTypeFilter(local bool) string {
inList = append(inList, "'s'")
}
callout := Conf.Graph.Local.Callout
if !local {
callout = Conf.Graph.Global.Callout
}
if callout {
inList = append(inList, "'callout'")
}
inList = append(inList, "'d'")
return " AND ref.type IN (" + strings.Join(inList, ",") + ")"
}