From 048d6f958c6b129a8c7a966082dc11b17d865952 Mon Sep 17 00:00:00 2001 From: Johan Lundberg Date: Fri, 28 Mar 2014 14:47:32 +0100 Subject: Added filter on ACP cluster to room admin. --- meetingtools/apps/room/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meetingtools') diff --git a/meetingtools/apps/room/admin.py b/meetingtools/apps/room/admin.py index e8f3cfc..d230cf2 100644 --- a/meetingtools/apps/room/admin.py +++ b/meetingtools/apps/room/admin.py @@ -38,6 +38,6 @@ class RoomAdmin(admin.ModelAdmin): date_hierarchy = 'timecreated' search_fields = ['creator__username', 'name', 'sco__sco_id'] list_display = ('timecreated', 'creator', 'name', 'urlpath', 'sco', 'deleted_sco', 'lastupdated', 'lastvisited') - list_filter = (YearLastVisitedFilter,) + list_filter = (YearLastVisitedFilter, 'sco__acc',) admin.site.register(Room, RoomAdmin) \ No newline at end of file -- cgit v1.1