mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-26 03:21:05 +00:00
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):
|
||||
""" info about a book """
|
||||
query = request.GET.get("query")
|
||||
book_results = []
|
||||
book_results = popular_books = []
|
||||
if query:
|
||||
book_results = connector_manager.local_search(query, raw=True)[:5]
|
||||
if len(book_results) < 5:
|
||||
|
|
Loading…
Reference in a new issue