mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2025-02-12 17:15:16 +00:00
Merge branch 'main' into production
This commit is contained in:
commit
a5aab26986
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ class GetStartedBooks(View):
|
||||||
def get(self, request):
|
def get(self, request):
|
||||||
""" info about a book """
|
""" info about a book """
|
||||||
query = request.GET.get("query")
|
query = request.GET.get("query")
|
||||||
book_results = []
|
book_results = popular_books = []
|
||||||
if query:
|
if query:
|
||||||
book_results = connector_manager.local_search(query, raw=True)[:5]
|
book_results = connector_manager.local_search(query, raw=True)[:5]
|
||||||
if len(book_results) < 5:
|
if len(book_results) < 5:
|
||||||
|
|
Loading…
Reference in a new issue