Skip to content

Commit 785e11d

Browse files
authored
Merge pull request #73 from byte16/dev
fix bug in doc searching within a book
2 parents 7e7438c + b43fc4f commit 785e11d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controllers/api/CommonController.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ func (this *CommonController) SearchDoc() {
477477
}
478478
total = count
479479
for _, book := range result {
480-
ids = append(ids, book.BookId)
480+
ids = append(ids, book.DocumentId)
481481
}
482482
}
483483

0 commit comments

Comments
 (0)