Skip to content
Snippets Groups Projects
Commit bf66ae1e authored by vkovtun's avatar vkovtun
Browse files

SSDM-9369 Fixed...

SSDM-9369 Fixed DataSetListingTest.testListExperimentDataSetsAlsoIndirectlyConnected() and DatasetListingQueryTest.testQueryForDatasetsForExperimentAndDescendentsReturnsNotNullPostRegistered() tests.
parent 0cb2bfce
No related branches found
No related tags found
No related merge requests found
......@@ -124,11 +124,11 @@ public interface IDatasetListingQuery extends BaseQuery, IPropertyListingQuery
+ "where expe_id = ?{1} "
+ " or samp_id in (with recursive connected_samples as "
+ " (select id from samples where expe_id = ?{1} "
+ " union select s.id from connected_samples as cs "
+ " union all select s.id from connected_samples as cs "
+ " inner join sample_relationships as sr on sr.sample_id_parent = cs.id "
+ " left join samples as s on s.id = sr.sample_id_child) "
+ " select * from connected_samples) "
+ "union select d.*, " + ED_COLUMNS + ", "
+ "union all select d.*, " + ED_COLUMNS + ", "
+ " ld.id, prdq.id IS NULL as is_post_registered from connected_data as cd "
+ " inner join data_set_relationships as dr on dr.data_id_parent = cd.id "
+ " left join data as d on d.id = dr.data_id_child "
......
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