Commit a4d25372 authored by Jérome Perrin's avatar Jérome Perrin

XXX use effective / expiration date consistently

(it seems behavior of domain tool and CompositionMixin._getEffectiveModel
is not consistent, let's try tests)
parent 7e54bbcb
Pipeline #17771 failed with stage
in 0 seconds
...@@ -121,12 +121,12 @@ class DomainTool(BaseTool): ...@@ -121,12 +121,12 @@ class DomainTool(BaseTool):
), ),
ComplexQuery( ComplexQuery(
SimpleQuery(**{range_min: None}), SimpleQuery(**{range_min: None}),
SimpleQuery(comparison_operator='>=', **{range_max: value}), SimpleQuery(comparison_operator='>', **{range_max: value}),
logical_operator='AND', logical_operator='AND',
), ),
ComplexQuery( ComplexQuery(
SimpleQuery(comparison_operator='<=', **{range_min: value}), SimpleQuery(comparison_operator='<=', **{range_min: value}),
SimpleQuery(comparison_operator='>=', **{range_max: value}), SimpleQuery(comparison_operator='>', **{range_max: value}),
logical_operator='AND', logical_operator='AND',
), ),
logical_operator='OR', logical_operator='OR',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment