🎨 Data History - File history - Assets search results and operation conditions do not match https://github.com/siyuan-note/siyuan/issues/11171
This commit is contained in:
parent
7f575be6ba
commit
239a1434e1
1 changed files with 3 additions and 3 deletions
|
@ -404,11 +404,11 @@ func buildSearchHistoryQueryFilter(query, op, box, table string, typ int) (stmt
|
|||
} else {
|
||||
stmt += "1=1"
|
||||
}
|
||||
if "all" != op {
|
||||
stmt += " AND op = '" + op + "'"
|
||||
}
|
||||
|
||||
if HistoryTypeDocName == typ || HistoryTypeDoc == typ || HistoryTypeDocID == typ {
|
||||
if "all" != op {
|
||||
stmt += " AND op = '" + op + "'"
|
||||
}
|
||||
if HistoryTypeDocName == typ || HistoryTypeDoc == typ {
|
||||
stmt += " AND path LIKE '%/" + box + "/%' AND path LIKE '%.sy'"
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue