Merge branch 'google_books_button' of github.com:Gluejar/regluit into google_books_button
commit
9d2b343c74
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue