Closed Maanin00 closed 8 months ago
SELECT category, count(value) AS count FROM (SELECT tbl_sample_group_descriptions.sample_group_description_id AS category, tbl_analysis_entities.analysis_entity_id AS value FROM tbl_analysis_entities
INNER JOIN tbl_datasets ON tbl_datasets.dataset_id = tbl_analysis_entities.dataset_id
INNER JOIN tbl_physical_samples ON tbl_physical_samples.physical_sample_id = tbl_analysis_entities.physical_sample_id
INNER JOIN tbl_sample_groups ON tbl_sample_groups.sample_group_id = tbl_physical_samples.sample_group_id
INNER JOIN tbl_sample_group_descriptions ON tbl_sample_group_descriptions.sample_group_id = tbl_sample_groups.sample_group_id
INNER JOIN tbl_sample_group_description_types ON tbl_sample_group_description_types.sample_group_description_type_id = tbl_sample_group_descriptions.sample_group_description_type_id
INNER JOIN tbl_sites ON tbl_sites.site_id = tbl_sample_groups.site_id WHERE 1 = 1
GROUP BY tbl_sample_group_descriptions.sample_group_description_id, tbl_analysis_entities.analysis_entity_id) AS x GROUP BY category;
Jag kommer att ta ut detta filtret ur klienten, tills vidare, då det inte fungerar.
Have a look at tbl_sample_group_descriptions and check for doubles.
Detta filtret efterfrågas även av dendro-folket. Ger i nuläget 500 internal server error när man väljer något.
Two errors fixed in this issue:
sample_group_name
to displayed text.Deployed to staging.