from django.contrib import admin

from import_export.admin import ExportMixin
from remo.remozilla.models import Bug, Status


class BugAdmin(ExportMixin, admin.ModelAdmin):
    """Bug Admin."""
    list_display = ('__unicode__', 'summary', 'status', 'resolution')
    list_filter = ('status', 'resolution', 'council_vote_requested')
    search_fields = ('bug_id', )


admin.site.register(Bug, BugAdmin)
admin.site.register(Status)

@@ -255,16 +255,61 @@
 olution'
+,%0A                    'bug_last_change_time',
 )%0A    li
@@ -369,16 +369,17 @@
 quested'
+,
 )%0A    se
@@ -403,18 +403,33 @@
 ug_id', 
+'summary', 'id',
 )
-%0A
 %0A%0Aadmin.

Add more search and filter options to remozilla admin interface.