Skip to content

Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.

fix: job operation order

Brad Barbin23c409c863ff
diff --git a/apps/carbon/app/modules/production/production.service.ts b/apps/carbon/app/modules/production/production.service.ts
index 04717e088d..b26ddd3fcc 100644
--- a/apps/carbon/app/modules/production/production.service.ts
+++ b/apps/carbon/app/modules/production/production.service.ts
@@ -331,7 +331,7 @@ export async function getJobOperationsByMethodId(
.from("jobOperation")
.select("*")
.eq("jobMakeMethodId", jobMakeMethodId)
- .order("createdAt", { ascending: true });
+ .order("order", { ascending: true });
}
export async function getProductionEvent(