From f82c13aeb51c7bd2dc62d7f6cdbfe3f8f901991a Mon Sep 17 00:00:00 2001 From: Amit Salunke Date: Mon, 28 Sep 2026 07:46:17 +0530 Subject: [PATCH] Display Order fix --- .../templates/m0001_ct0003.json | 37 +++++++------------ .../templates/m0001_ct0007.json | 24 ++++++------ .../templates/m0002_ct0011.json | 4 +- 3 files changed, 27 insertions(+), 38 deletions(-) diff --git a/m0001-acupuncture-points/templates/m0001_ct0003.json b/m0001-acupuncture-points/templates/m0001_ct0003.json index 1454d62..4cf5db1 100644 --- a/m0001-acupuncture-points/templates/m0001_ct0003.json +++ b/m0001-acupuncture-points/templates/m0001_ct0003.json @@ -15,13 +15,13 @@ "default": "" }, { - "name": "alt_name_1", + "name": "English Name", "code": "alt_name_1", "data_type": "text", "default": "" }, { - "name": "alt_name_2", + "name": "Chinese Name", "code": "alt_name_2", "data_type": "text", "default": "" @@ -159,7 +159,7 @@ "default": [] }, { - "name": "regional_anatomy", + "name": "Regional Anatomy", "code": "regional_anatomy", "definition_kind": "object", "children": [ @@ -187,24 +187,18 @@ ] }, { - "name": "actions", + "name": "Actions", "code": "actions", "data_type": "text", "is_multivalue": true, "default": [] }, { - "name": "methods", + "name": "Methods", "code": "methods", "data_type": "json", "default": {} }, - { - "name": "point_images", - "code": "point_images", - "data_type": "json", - "default": {} - }, { "name": "Content Link", "code": "link", @@ -371,13 +365,13 @@ "attribute_key": "m0001_ct0003.location", "empty_behavior": "hide", "visibility": "show", - "display_order": 0 + "display_order": 1 }, { "attribute_key": "m0001_ct0003.location_note", "empty_behavior": "hide", "visibility": "show", - "display_order": 0 + "display_order": 2 }, { "attribute_key": "m0001_ct0003.needling", @@ -395,13 +389,13 @@ "attribute_key": "m0001_ct0003.moxibustion", "empty_behavior": "hide", "visibility": "show", - "display_order": 0 + "display_order": 8 }, { "attribute_key": "m0001_ct0003.additional_method", "empty_behavior": "hide", "visibility": "show", - "display_order": 0 + "display_order": 7 }, { "attribute_key": "m0001_ct0003.caution", @@ -419,13 +413,13 @@ "attribute_key": "m0001_ct0003.indications", "empty_behavior": "hide", "visibility": "show", - "display_order": 0 + "display_order": 4 }, { "attribute_key": "m0001_ct0003.regional_anatomy", "empty_behavior": "hide", "visibility": "show", - "display_order": 0 + "display_order": 3 }, { "attribute_key": "m0001_ct0003.regional_anatomy.structures", @@ -449,18 +443,13 @@ "attribute_key": "m0001_ct0003.actions", "empty_behavior": "hide", "visibility": "show", - "display_order": 0 + "display_order": 5 }, { "attribute_key": "m0001_ct0003.methods", "empty_behavior": "hide", "visibility": "show", - "display_order": 0 - }, - { - "attribute_key": "m0001_ct0003.point_images", - "empty_behavior": "hide", - "visibility": "hide" + "display_order": 6 }, { "attribute_key": "m0001_ct0003.link", diff --git a/m0001-acupuncture-points/templates/m0001_ct0007.json b/m0001-acupuncture-points/templates/m0001_ct0007.json index ebadc7d..2fb1a0f 100644 --- a/m0001-acupuncture-points/templates/m0001_ct0007.json +++ b/m0001-acupuncture-points/templates/m0001_ct0007.json @@ -24,7 +24,7 @@ "name": "Alternative Name", "code": "alt_name", "data_type": "text", - "multivalue": true, + "is_multivalue": true, "default": [] }, { @@ -218,14 +218,14 @@ "default": [] }, { - "name": "functions", + "name": "Functions", "code": "functions", "data_type": "text", "multivalue": true, "default": [] }, { - "name": "pathway", + "name": "Pathway", "code": "pathway", "data_type": "json", "default": {} @@ -287,7 +287,7 @@ "is_filterable": false, "metadata": { "lifecycle": "authoring_only", - "description": "Canonical target content code used in source/seed JSON. Seeder resolves it to source_key before persistence." + "description": "Canonical target content code used in source/seed JSON." } }, { @@ -380,49 +380,49 @@ "attribute_key": "m0001_ct0007.master_point", "empty_behavior": "hide", "visibility": "show", - "display_order": 0 + "display_order": 3 }, { "attribute_key": "m0001_ct0007.coupled_point", "empty_behavior": "hide", "visibility": "show", - "display_order": 0 + "display_order": 3 }, { "attribute_key": "m0001_ct0007.luo_point", "empty_behavior": "hide", "visibility": "show", - "display_order": 0 + "display_order": 3 }, { "attribute_key": "m0001_ct0007.xi_cleft_point", "empty_behavior": "hide", "visibility": "show", - "display_order": 0 + "display_order": 3 }, { "attribute_key": "m0001_ct0007.intersection_points", "empty_behavior": "hide", "visibility": "show", - "display_order": 0 + "display_order": 3 }, { "attribute_key": "m0001_ct0007.paired_meridian", "empty_behavior": "hide", "visibility": "show", - "display_order": 0 + "display_order": 3 }, { "attribute_key": "m0001_ct0007.areas_of_effect", "empty_behavior": "hide", "visibility": "show", - "display_order": 0 + "display_order": 2 }, { "attribute_key": "m0001_ct0007.functions", "empty_behavior": "hide", "visibility": "show", - "display_order": 0 + "display_order": 1 }, { "attribute_key": "m0001_ct0007.pathway", diff --git a/m0002-ear-acupuncture/templates/m0002_ct0011.json b/m0002-ear-acupuncture/templates/m0002_ct0011.json index 371b857..7e72d1c 100644 --- a/m0002-ear-acupuncture/templates/m0002_ct0011.json +++ b/m0002-ear-acupuncture/templates/m0002_ct0011.json @@ -270,13 +270,13 @@ "attribute_key": "m0002_ct0011.indication", "empty_behavior": "hide", "visibility": "show", - "display_order": 0 + "display_order": 1 }, { "attribute_key": "m0002_ct0011.diagnosis", "empty_behavior": "hide", "visibility": "show", - "display_order": 0 + "display_order": 2 }, { "attribute_key": "m0002_ct0011.link",