On a product detail page, I have two blocks:
- Item details block sourcing from a custom SQL query (
SELECT * FROM public_products) — this works correctly and displays the right product when navigating from the products list page. - List block sourcing from a custom SQL query (
SELECT * FROM public_part_assignments ORDER BY group_sort_order) with a conditional filter set toid is current record: id— this consistently returns “something went wrong. Please refresh the page and try again.”
The id column is in both views and values match in Supabase. RLS is disabled on all tables. A new list block will load data without a filter but fails once the filter is added.