mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-30 13:28:48 +01:00
🎨 Moving doc search supports multiple keywords separated by spaces https://github.com/siyuan-note/siyuan/issues/12577
This commit is contained in:
parent
d58d967522
commit
d2be055fc5
1 changed files with 1 additions and 1 deletions
|
|
@ -184,7 +184,7 @@ func SearchDocsByKeyword(keyword string, flashcard bool) (ret []map[string]strin
|
|||
var rootBlocks []*sql.Block
|
||||
if 0 < len(keywords) {
|
||||
for _, box := range boxes {
|
||||
if util.ContainsSubStr(box.Name, keywords) {
|
||||
if gulu.Str.Contains(box.Name, keywords) {
|
||||
if flashcard {
|
||||
newFlashcardCount, dueFlashcardCount, flashcardCount := countBoxFlashcard(box.ID, deck, deckBlockIDs)
|
||||
if 0 < flashcardCount {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue