From e7184f0aabaa6551a0c9cddb697247a7504e3603 Mon Sep 17 00:00:00 2001 From: Lennard de Rijk Date: Fri, 20 Mar 2009 14:17:10 +0000 Subject: [PATCH] Only show valid roles on user roles page. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed --- app/soc/views/models/user_self.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app/soc/views/models/user_self.py b/app/soc/views/models/user_self.py index 3df22951..3128a76e 100644 --- a/app/soc/views/models/user_self.py +++ b/app/soc/views/models/user_self.py @@ -238,6 +238,7 @@ class View(base.View): # only select the roles for the current user filter = { 'link_id': user.link_id, + 'status': ['active', 'inactive'] } contents = [] -- 2.11.4.GIT