Merge branch 'master' into relaunch_ry

Conflicts:
	frontend/views.py
pull/1/head
Raymond Yee 2012-09-11 10:42:49 -07:00
commit 5636637266
1 changed files with 5 additions and 5 deletions

View File

@ -148,7 +148,7 @@ def work(request, work_id, action='display'):
context = {}
campaign = work.last_campaign()
if campaign and campaign.edition:
if campaign and campaign.edition and not request.user.is_staff:
editions = [campaign.edition]
else:
editions = work.editions.all().order_by('-publication_date')