"Unknown error (select
id,
reference_id,
tree_id,
planting_organization_id,
device_configuration_id,
image_url,
lat,
lon,
status,
grower_account_id,
morphology,
age,
note,
attributes,
species_id,
session_id,
created_at,
captured_at,
t.tag_array
FROM capture
LEFT JOIN (
SELECT ct.capture_id, array_agg(t.name) AS tag_array
FROM capture_tag ct
JOIN tag t ON t.id = ct.tag_id
GROUP BY ct.capture_id
) t ON id = t.capture_id
where (not "capture"."status" = $1 and "tree_id" is null and "id" in (SELECT id FROM capture_tree_match) and "capture"."captured_at" >= $2 and "capture"."captured_at" <= $3) order by "captured_at" desc limit $4 - materialized view "capture_tree_match" has not been populated)"
Home page:
and Captures Matching: