equal
deleted
inserted
replaced
1027 if infvalue != self.infvalue(min=True): |
1027 if infvalue != self.infvalue(min=True): |
1028 self._add_restriction(infvalue, '>=') |
1028 self._add_restriction(infvalue, '>=') |
1029 if supvalue != self.supvalue(max=True): |
1029 if supvalue != self.supvalue(max=True): |
1030 self._add_restriction(supvalue, '<=') |
1030 self._add_restriction(supvalue, '<=') |
1031 |
1031 |
1032 def _add_restriction(self, operator, value): |
1032 def _add_restriction(self, value, operator): |
1033 self.select.add_constant_restriction(self.filtered_variable, |
1033 self.select.add_constant_restriction(self.filtered_variable, |
1034 self.rtype, |
1034 self.rtype, |
1035 self.formatvalue(value), |
1035 self.formatvalue(value), |
1036 self.attrtype, operator) |
1036 self.attrtype, operator) |
1037 |
1037 |