Revert "Only summarize webapps, not addons. (bug 813254)"

This reverts commit 360bb71f84.
This commit is contained in:
Allen Short 2012-12-07 11:37:08 -08:00
Родитель a9a95e325d
Коммит 7c9676f63a
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -68,7 +68,7 @@ def user_summary(request, user_id):
@login_required @login_required
@permission_required('AccountLookup', 'View') @permission_required('AccountLookup', 'View')
def app_summary(request, addon_id): def app_summary(request, addon_id):
app = get_object_or_404(Addon, pk=addon_id, type=amo.ADDON_WEBAPP) app = get_object_or_404(Addon, pk=addon_id)
authors = (app.authors.filter(addonuser__role__in=(amo.AUTHOR_ROLE_DEV, authors = (app.authors.filter(addonuser__role__in=(amo.AUTHOR_ROLE_DEV,
amo.AUTHOR_ROLE_OWNER)) amo.AUTHOR_ROLE_OWNER))
.order_by('display_name')) .order_by('display_name'))

2
vendor

@ -1 +1 @@
Subproject commit dbf0a86d5f0043170b1a77a9fadbb408ba4a06df Subproject commit 2c7f289c59247b4388b2b44ba9b96f1dcd362e54