diff --git a/tutorials/parquet_cesium.qmd b/tutorials/parquet_cesium.qmd index bbc277f..844e1bb 100644 --- a/tutorials/parquet_cesium.qmd +++ b/tutorials/parquet_cesium.qmd @@ -348,10 +348,9 @@ async function get_samples_at_geo_cord_location_via_sample_event(pid) { SELECT DISTINCT s.pid as sample_pid, s.label as sample_label, - s.description as sample_description, - s.thumbnail_url, - s.alternate_identifiers, + s.name as sample_name, event.label as event_label, + event.pid as event_pid, site.label as site_label, site.pid as site_pid, 'direct_event_location' as location_path @@ -373,10 +372,9 @@ async function get_samples_at_geo_cord_location_via_sample_event(pid) { SELECT DISTINCT s.pid as sample_pid, s.label as sample_label, - s.description as sample_description, - s.thumbnail_url, - s.alternate_identifiers, + s.name as sample_name, event.label as event_label, + event.pid as event_pid, site.label as site_label, site.pid as site_pid, 'via_site_location' as location_path @@ -393,7 +391,7 @@ async function get_samples_at_geo_cord_location_via_sample_event(pid) { AND g.otype = 'GeospatialCoordLocation' AND g.pid = ? - ORDER BY thumbnail_url IS NOT NULL DESC, sample_label + ORDER BY sample_label `; const result = await loadData(q, [pid, pid], "loading_combined", "samples_combined"); return result ?? []; @@ -697,15 +695,14 @@ ${JSON.stringify(samples_2, null, 2)}