+ {bodyshop.md_categories.map((item) => (
+ {item}
+ ))}
+
+ }
+ trigger={["click"]}
+ >
+
+ {record.category}
+ {loading && }
+
+
+ );
+}
+export default connect(
+ mapStateToProps,
+ mapDispatchToProps
+)(ProductionListColumnCategory);
diff --git a/client/src/components/production-list-table/production-list-table.component.jsx b/client/src/components/production-list-table/production-list-table.component.jsx
index dd2c5fc32..56278c1fc 100644
--- a/client/src/components/production-list-table/production-list-table.component.jsx
+++ b/client/src/components/production-list-table/production-list-table.component.jsx
@@ -88,6 +88,12 @@ export function ProductionListTable({
);
const handleTableChange = (pagination, filters, sorter) => {
+ console.log(
+ "🚀 ~ file: production-list-table.component.jsx ~ line 91 ~ pagination, filters, sorter",
+ pagination,
+ filters,
+ sorter
+ );
setState({
...state,
filteredInfo: filters,
@@ -263,8 +269,10 @@ export function ProductionListTable({
},
}}
columns={columns.map((c, index) => {
+ console.log(c);
return {
...c,
+ filteredValue: state.filteredInfo[c.key] || null,
sortOrder:
state.sortedInfo.columnKey === c.key && state.sortedInfo.order,
title: headerItem(c),
diff --git a/client/src/graphql/jobs.queries.js b/client/src/graphql/jobs.queries.js
index 6ff600dce..999d56224 100644
--- a/client/src/graphql/jobs.queries.js
+++ b/client/src/graphql/jobs.queries.js
@@ -123,6 +123,7 @@ export const QUERY_EXACT_JOB_IN_PRODUCTION = gql`
ro_number
ownr_fn
ownr_ln
+ category
ownr_co_nm
v_model_yr
v_model_desc
@@ -193,6 +194,7 @@ export const QUERY_EXACT_JOBS_IN_PRODUCTION = gql`
status
ro_number
ownr_fn
+ category
ownr_ln
ownr_co_nm
v_model_yr
@@ -263,6 +265,7 @@ export const QUERY_JOBS_IN_PRODUCTION = gql`
id
updated_at
status
+ category
ro_number
ownr_fn
ownr_ln