Commit 98f0da9d authored by Ivan Tyagov's avatar Ivan Tyagov

Do not filter by validation_state and leave to only results which are visible to user.

parent eed4fd46
...@@ -20,10 +20,10 @@ data_set = portal.data_set_module.get(data_set_reference) ...@@ -20,10 +20,10 @@ data_set = portal.data_set_module.get(data_set_reference)
if data_set is None: if data_set is None:
return [] return []
# XXX: use DataSet_getDataStreamList instead!
query_dict = { query_dict = {
"portal_type": "Data Stream", "portal_type": "Data Stream",
"reference": data_set.getReference() + reference_separator + "%", "reference": data_set.getReference() + reference_separator + "%"}
"validation_state": 'validated'}
data_stream_list = [] data_stream_list = []
......
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