Skip to content
Snippets Groups Projects
Commit d8566cba authored by tpylak's avatar tpylak
Browse files

LMS-2499 general bugfix: if dataset has more properties, the list of analysis...

LMS-2499 general bugfix: if dataset has more properties, the list of analysis procedures contains them as well

SVN: 22827
parent 62b20a27
No related branches found
No related tags found
No related merge requests found
...@@ -312,7 +312,7 @@ public interface IScreeningQuery extends BaseQuery ...@@ -312,7 +312,7 @@ public interface IScreeningQuery extends BaseQuery
+ " join data ds on ds.expe_id = exp.id " + " join data ds on ds.expe_id = exp.id "
+ " join data_set_types ds_type on ds.dsty_id = ds_type.id " + " join data_set_types ds_type on ds.dsty_id = ds_type.id "
+ " join data_set_type_property_types dst_pt on dst_pt.dsty_id = ds_type.id " + " join data_set_type_property_types dst_pt on dst_pt.dsty_id = ds_type.id "
+ " left outer join data_set_properties ds_props on ds_props.ds_id = ds.id " + " left outer join data_set_properties ds_props on ds_props.ds_id = ds.id and ds_props.dstpt_id = dst_pt.id"
+ " where " + " where "
+ " dst_pt.prty_id = (select id from property_types where code='ANALYSIS_PROCEDURE' and is_internal_namespace=true)"; + " dst_pt.prty_id = (select id from property_types where code='ANALYSIS_PROCEDURE' and is_internal_namespace=true)";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment