Removed undefined order argument in GHOP Task View.
authorLennard de Rijk <ljvderijk@gmail.com>
Thu, 17 Sep 2009 21:59:30 +0200
changeset 2942 996e64ba2db8
parent 2941 5d2afe70420d
child 2943 8086f6562353
Removed undefined order argument in GHOP Task View.
app/soc/modules/ghop/views/models/task.py
--- a/app/soc/modules/ghop/views/models/task.py	Thu Sep 17 21:22:49 2009 +0200
+++ b/app/soc/modules/ghop/views/models/task.py	Thu Sep 17 21:59:30 2009 +0200
@@ -18,7 +18,8 @@
 """
 
 __authors__ = [
-    '"Madhusudan.C.S" <madhusudancs@gmail.com>'
+    '"Madhusudan.C.S" <madhusudancs@gmail.com>',
+    '"Lennard de Rijk" <ljvderijk@gmail.com>',
   ]
 
 
@@ -731,8 +732,7 @@
         'status': ['Unapproved', 'Unpublished'],
         }
 
-    up_list = lists.getListContent(request, up_params, filter,
-                                   order=order, idx=0, 
+    up_list = lists.getListContent(request, up_params, filter, idx=0,
                                    need_content=True)
 
     if up_list:
@@ -763,8 +763,7 @@
             'NeedsWork', 'NeedsReview'],
         }
 
-    ap_list = lists.getListContent(request, ap_params, filter,
-                                   order=order, idx=1, 
+    ap_list = lists.getListContent(request, ap_params, filter, idx=1,
                                    need_content=True)
 
     if ap_list: