Commit b0342d64 authored by Ivan Tyagov's avatar Ivan Tyagov

Seems like operator is replaced or not longer supported as such. Use logical_operator instead.

parent 88173fe4
...@@ -28,7 +28,7 @@ if data_chunk is not None and reference is not None: ...@@ -28,7 +28,7 @@ if data_chunk is not None and reference is not None:
Query(validation_state = 'validated'), Query(validation_state = 'validated'),
Query( **{'delivery.stop_date':now, 'range': 'min'}), Query( **{'delivery.stop_date':now, 'range': 'min'}),
Query( **{'delivery.start_date':now, 'range': 'max'}), Query( **{'delivery.start_date':now, 'range': 'max'}),
operator="AND") logical_operator="AND")
data_supply = portal_catalog.getResultValue(query=query) data_supply = portal_catalog.getResultValue(query=query)
#context.log(data_supply) #context.log(data_supply)
......
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