Forum OpenACS Q&A: Response to ecommerce module throws error when trying to view orders

I rearranged the fields so the order matches for the 2 sub-queries, and it works.