Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #2342 -- Made small fix to DateFieldFilterSpec. Thanks, Alex Dedul

git-svn-id: http://code.djangoproject.com/svn/django/trunk@3403 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit b26331d6ee5e85336d35c826c2f266061f664811 1 parent c19ef69
Adrian Holovaty authored July 20, 2006

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  django/contrib/admin/filterspecs.py
2  django/contrib/admin/filterspecs.py
@@ -123,7 +123,7 @@ def title(self):
123 123
     def choices(self, cl):
124 124
         for title, param_dict in self.links:
125 125
             yield {'selected': self.date_params == param_dict,
126  
-                   'query_string': cl.get_query_string(param_dict, self.field_generic),
  126
+                   'query_string': cl.get_query_string(param_dict, [self.field_generic]),
127 127
                    'display': title}
128 128
 
129 129
 FilterSpec.register(lambda f: isinstance(f, models.DateField), DateFieldFilterSpec)

0 notes on commit b26331d

Please sign in to comment.
Something went wrong with that request. Please try again.