From 201ff7b38f6b285d09623760e3602702dabaf61e Mon Sep 17 00:00:00 2001 From: Andromeda Yelton Date: Tue, 13 Mar 2012 16:26:57 -0400 Subject: [PATCH] fixing empty slideshow for is_preview --- frontend/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/views.py b/frontend/views.py index 3cb98bd8..59b119d9 100755 --- a/frontend/views.py +++ b/frontend/views.py @@ -64,7 +64,7 @@ def slideshow(max): if is_preview: # on the preview site there are no active campaigns, so we should show most-wished books instead - worklist = models.Work.objects.order_by('-num_wishes')[:count] + worklist = models.Work.objects.order_by('-num_wishes')[:max] else: worklist = [] while i0: