web/facet.py
changeset 7615 e5ad51352eb3
parent 7609 fbefd1b9e587
child 7618 5395007c415c
--- a/web/facet.py	Mon Jul 04 12:37:44 2011 +0200
+++ b/web/facet.py	Mon Jul 04 16:46:29 2011 +0200
@@ -1029,7 +1029,7 @@
         if supvalue != self.supvalue(max=True):
             self._add_restriction(supvalue, '<=')
 
-    def _add_restriction(self, operator, value):
+    def _add_restriction(self, value, operator):
         self.select.add_constant_restriction(self.filtered_variable,
                                              self.rtype,
                                              self.formatvalue(value),