Only summarize webapps, not addons. (bug 813254)
This commit is contained in:
Родитель
a65ca5f487
Коммит
360bb71f84
|
@ -68,7 +68,7 @@ def user_summary(request, user_id):
|
|||
@login_required
|
||||
@permission_required('AccountLookup', 'View')
|
||||
def app_summary(request, addon_id):
|
||||
app = get_object_or_404(Addon, pk=addon_id)
|
||||
app = get_object_or_404(Addon, pk=addon_id, type=amo.ADDON_WEBAPP)
|
||||
authors = (app.authors.filter(addonuser__role__in=(amo.AUTHOR_ROLE_DEV,
|
||||
amo.AUTHOR_ROLE_OWNER))
|
||||
.order_by('display_name'))
|
||||
|
|
2
vendor
2
vendor
|
@ -1 +1 @@
|
|||
Subproject commit 2c7f289c59247b4388b2b44ba9b96f1dcd362e54
|
||||
Subproject commit dbf0a86d5f0043170b1a77a9fadbb408ba4a06df
|
Загрузка…
Ссылка в новой задаче