Merge branch 'google_books_button' of github.com:Gluejar/regluit into google_books_button

pull/1/head
Raymond Yee 2015-03-18 11:36:49 -07:00
commit 9d2b343c74
1 changed files with 1 additions and 1 deletions

View File

@ -2102,7 +2102,7 @@ def search(request):
campaign_works = models.Work.objects.filter(our_stuff).filter(work_query).distinct() campaign_works = models.Work.objects.filter(our_stuff).filter(work_query).distinct()
results = models.Work.objects.none() results = models.Work.objects.none()
else: else:
results = gluejar_search(q, user_ip=request.META['REMOTE_ADDR'], page=page) results = gluejar_search(q, user_ip=request.META['REMOTE_ADDR'], page=page-1)
campaign_works = None campaign_works = None
# flag search result as on wishlist as appropriate # flag search result as on wishlist as appropriate