Filter for admin, show product names #32

Merged
merged 1 commit into from Oct 25, 2011

2 participants

@nigelbabu

No description provided.

@davedash davedash commented on an outdated diff Oct 25, 2011
apps/feedback/admin.py
@@ -44,6 +44,7 @@ admin.site.register(Term, TermAdmin)
class VersionCountAdmin(admin.ModelAdmin):
list_display = ('product', 'version', 'num_opinions', 'active')
+ list_filter = ('active',)
@davedash
Mozilla member
davedash added a line comment Oct 25, 2011

maybe add product as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
@davedash davedash commented on an outdated diff Oct 25, 2011
apps/feedback/admin.py
@@ -44,6 +44,7 @@ admin.site.register(Term, TermAdmin)
class VersionCountAdmin(admin.ModelAdmin):
list_display = ('product', 'version', 'num_opinions', 'active')
+ list_filter = ('active',)
ordering = ('-version', 'product')
@davedash
Mozilla member
davedash added a line comment Oct 25, 2011

switch these, I think.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
@davedash davedash merged commit 585c8e5 into mozilla:master Oct 25, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment