🎨 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:54:31 +08:00
parent c343366ff1
commit 5f8b71f566
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -313,7 +313,7 @@ type HistoryItem struct {
func FullTextSearchHistory(query, box, op string, typ, page int) (ret []string, pageCount, totalCount int) {
query = gulu.Str.RemoveInvisible(query)
if "" != query {
if "" != query && HistoryTypeDocID != typ {
query = stringQuery(query)
}