Skip to content

Commit b43fc4f

Browse files
committed
fix bug in doc searching within a book: when using db query, bookId was used as DocId in former versions
1 parent 10d889e commit b43fc4f

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)