diff --git a/server/core/opds/SearchPage.js b/server/core/opds/SearchPage.js index d363f15..a58d62f 100644 --- a/server/core/opds/SearchPage.js +++ b/server/core/opds/SearchPage.js @@ -31,10 +31,9 @@ class SearchPage extends BasePage { const found = queryRes.found; for (let i = 0; i < found.length; i++) { - if (i >= limit) - break; - const row = found[i]; + if (!row.bookCount) + continue; entry.push( this.makeEntry({