🎨 Support for opening file history on the doc tree https://github.com/siyuan-note/siyuan/issues/8448

This commit is contained in:
Daniel 2023-06-03 22:57:06 +08:00
parent 572951e8d4
commit 2663d0a4f4
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -378,7 +378,7 @@ func buildSearchHistoryQueryFilter(query, op, box, table string, typ int) (stmt
stmt += "1=1"
}
if HistoryTypeDocName == typ || HistoryTypeDoc == typ {
if HistoryTypeDocName == typ || HistoryTypeDoc == typ || HistoryTypeDocID == typ {
if "all" != op {
stmt += " AND op = '" + op + "'"
}