Another fix for speed filters in HistoryForm
authorJean-Michel Nirgal Vourgère <jmv@nirgal.com>
Sun, 17 Apr 2011 10:53:40 +0000 (10:53 +0000)
committerJean-Michel Nirgal Vourgère <jmv@nirgal.com>
Sun, 17 Apr 2011 10:53:40 +0000 (10:53 +0000)
bin/djais/views.py

index 2e9d993f7d7bf7c4c4e13bd6a613d8928fcec843..e5d568872ff5a10859752b66df359f5d201508cc 100644 (file)
@@ -253,11 +253,11 @@ class HistoryForm(forms.Form):
 
         filter_sog_le = data.get('filter_sog_le', None)
         if filter_sog_le:
-            command += u' --filter_sog_le ' + unicode(filter_sog_le)
+            command += u' --filter-sog-le ' + unicode(filter_sog_le)
 
         filter_sog_ge = data.get('filter_sog_ge', None)
         if filter_sog_ge:
-            command += u' --filter_sog_ge ' + unicode(filter_sog_ge)
+            command += u' --filter-sog-ge ' + unicode(filter_sog_ge)
 
         return command, extension