generated from ztimson/template
Search fix
This commit is contained in:
+1
-1
@@ -275,7 +275,7 @@ export class KiwixServer {
|
||||
|
||||
const found = fromXml(await res.text())?.rss?.channel?.item || [];
|
||||
|
||||
return found.map(hit => {
|
||||
return makeArray(found).map(hit => {
|
||||
const resultBook = bookMap.get(hit.book?.title) || book;
|
||||
|
||||
const prefix = `/content/${resultBook.href}/`;
|
||||
|
||||
Reference in New Issue
Block a user