forked from mirrors/bookwyrm
Merge pull request #851 from mouse-reeve/get-started-bug
Fixes books get started view error
This commit is contained in:
commit
72c08e8f77
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