feat(FIX-159): completed feature
This commit is contained in:
7
work/artifacts/FIX-159/architect.md
Normal file
7
work/artifacts/FIX-159/architect.md
Normal file
@@ -0,0 +1,7 @@
|
||||
# FIX-159 — Architect
|
||||
|
||||
## Problem
|
||||
reporting/summary and sales endpoints return 500. Root cause: CTE `filtered_orders` in `reporting-service.ts` did not include `shipping_cents` in its SELECT list, but the outer query references `o.shipping_cents`. PG raises "column o.shipping_cents does not exist".
|
||||
|
||||
## Fix
|
||||
Added `o.shipping_cents` to the SELECT list of all 3 CTEs (summary/sales/products queries).
|
||||
Reference in New Issue
Block a user