WIP more metadata reporting w/ burnettk
This commit is contained in:
parent
385e8cea2b
commit
17831eafa7
|
@ -936,10 +936,10 @@ def process_instance_list(
|
||||||
stock_columns = ProcessInstanceReportService.get_column_names_for_model(ProcessInstanceModel)
|
stock_columns = ProcessInstanceReportService.get_column_names_for_model(ProcessInstanceModel)
|
||||||
# print(f"stock_columns: {stock_columns}")
|
# print(f"stock_columns: {stock_columns}")
|
||||||
# import pdb; pdb.set_trace()
|
# import pdb; pdb.set_trace()
|
||||||
# for column in process_instance_report.report_metadata['columns']:
|
for column in process_instance_report.report_metadata['columns']:
|
||||||
# if column not in stock_columns:
|
if column['accessor'] in stock_columns:
|
||||||
# # continue
|
continue
|
||||||
for column in [{'accessor': 'key1'}]:
|
# for column in [{'accessor': 'key1'}]:
|
||||||
# print(f"column: {column['accessor']}")
|
# print(f"column: {column['accessor']}")
|
||||||
# process_instance_query = process_instance_query.outerjoin(ProcessInstanceMetadataModel, ProcessInstanceModel.id == ProcessInstanceMetadataModel.process_instance_id, ProcessInstanceMetadataModel.key == column['accessor'])
|
# process_instance_query = process_instance_query.outerjoin(ProcessInstanceMetadataModel, ProcessInstanceModel.id == ProcessInstanceMetadataModel.process_instance_id, ProcessInstanceMetadataModel.key == column['accessor'])
|
||||||
instance_metadata_alias = aliased(ProcessInstanceMetadataModel)
|
instance_metadata_alias = aliased(ProcessInstanceMetadataModel)
|
||||||
|
|
Loading…
Reference in New Issue