[open-ils-commits] r44 - servres/trunk/conifer/syrup
svn at svn.open-ils.org
svn at svn.open-ils.org
Mon Nov 24 16:28:58 EST 2008
Author: artunit
Date: 2008-11-24 16:28:54 -0500 (Mon, 24 Nov 2008)
New Revision: 44
Modified:
servres/trunk/conifer/syrup/views.py
Log:
Modified: servres/trunk/conifer/syrup/views.py
===================================================================
--- servres/trunk/conifer/syrup/views.py 2008-11-24 21:26:14 UTC (rev 43)
+++ servres/trunk/conifer/syrup/views.py 2008-11-24 21:28:54 UTC (rev 44)
@@ -49,7 +49,7 @@
action = request.GET.get('action', 'browse')
if action == 'join':
paginator = Paginator(models.UserProfile.objects.filter(instructor=True).
- select_related('user').order_by('-user__last_name','-user__first_name'), count)
+ select_related('user').filter(user__is_active=True).order_by('-user__last_name','-user__first_name'), count)
elif action == 'drop':
paginator = Paginator(models.Course.objects.filter(moderated=False), count)
else:
More information about the open-ils-commits
mailing list