Display Order fix

This commit is contained in:
Amit Salunke 2026-09-28 07:46:17 +05:30
parent 9ddfac35af
commit f82c13aeb5
3 changed files with 27 additions and 38 deletions

View File

@ -15,13 +15,13 @@
"default": "" "default": ""
}, },
{ {
"name": "alt_name_1", "name": "English Name",
"code": "alt_name_1", "code": "alt_name_1",
"data_type": "text", "data_type": "text",
"default": "" "default": ""
}, },
{ {
"name": "alt_name_2", "name": "Chinese Name",
"code": "alt_name_2", "code": "alt_name_2",
"data_type": "text", "data_type": "text",
"default": "" "default": ""
@ -159,7 +159,7 @@
"default": [] "default": []
}, },
{ {
"name": "regional_anatomy", "name": "Regional Anatomy",
"code": "regional_anatomy", "code": "regional_anatomy",
"definition_kind": "object", "definition_kind": "object",
"children": [ "children": [
@ -187,24 +187,18 @@
] ]
}, },
{ {
"name": "actions", "name": "Actions",
"code": "actions", "code": "actions",
"data_type": "text", "data_type": "text",
"is_multivalue": true, "is_multivalue": true,
"default": [] "default": []
}, },
{ {
"name": "methods", "name": "Methods",
"code": "methods", "code": "methods",
"data_type": "json", "data_type": "json",
"default": {} "default": {}
}, },
{
"name": "point_images",
"code": "point_images",
"data_type": "json",
"default": {}
},
{ {
"name": "Content Link", "name": "Content Link",
"code": "link", "code": "link",
@ -371,13 +365,13 @@
"attribute_key": "m0001_ct0003.location", "attribute_key": "m0001_ct0003.location",
"empty_behavior": "hide", "empty_behavior": "hide",
"visibility": "show", "visibility": "show",
"display_order": 0 "display_order": 1
}, },
{ {
"attribute_key": "m0001_ct0003.location_note", "attribute_key": "m0001_ct0003.location_note",
"empty_behavior": "hide", "empty_behavior": "hide",
"visibility": "show", "visibility": "show",
"display_order": 0 "display_order": 2
}, },
{ {
"attribute_key": "m0001_ct0003.needling", "attribute_key": "m0001_ct0003.needling",
@ -395,13 +389,13 @@
"attribute_key": "m0001_ct0003.moxibustion", "attribute_key": "m0001_ct0003.moxibustion",
"empty_behavior": "hide", "empty_behavior": "hide",
"visibility": "show", "visibility": "show",
"display_order": 0 "display_order": 8
}, },
{ {
"attribute_key": "m0001_ct0003.additional_method", "attribute_key": "m0001_ct0003.additional_method",
"empty_behavior": "hide", "empty_behavior": "hide",
"visibility": "show", "visibility": "show",
"display_order": 0 "display_order": 7
}, },
{ {
"attribute_key": "m0001_ct0003.caution", "attribute_key": "m0001_ct0003.caution",
@ -419,13 +413,13 @@
"attribute_key": "m0001_ct0003.indications", "attribute_key": "m0001_ct0003.indications",
"empty_behavior": "hide", "empty_behavior": "hide",
"visibility": "show", "visibility": "show",
"display_order": 0 "display_order": 4
}, },
{ {
"attribute_key": "m0001_ct0003.regional_anatomy", "attribute_key": "m0001_ct0003.regional_anatomy",
"empty_behavior": "hide", "empty_behavior": "hide",
"visibility": "show", "visibility": "show",
"display_order": 0 "display_order": 3
}, },
{ {
"attribute_key": "m0001_ct0003.regional_anatomy.structures", "attribute_key": "m0001_ct0003.regional_anatomy.structures",
@ -449,18 +443,13 @@
"attribute_key": "m0001_ct0003.actions", "attribute_key": "m0001_ct0003.actions",
"empty_behavior": "hide", "empty_behavior": "hide",
"visibility": "show", "visibility": "show",
"display_order": 0 "display_order": 5
}, },
{ {
"attribute_key": "m0001_ct0003.methods", "attribute_key": "m0001_ct0003.methods",
"empty_behavior": "hide", "empty_behavior": "hide",
"visibility": "show", "visibility": "show",
"display_order": 0 "display_order": 6
},
{
"attribute_key": "m0001_ct0003.point_images",
"empty_behavior": "hide",
"visibility": "hide"
}, },
{ {
"attribute_key": "m0001_ct0003.link", "attribute_key": "m0001_ct0003.link",

View File

@ -24,7 +24,7 @@
"name": "Alternative Name", "name": "Alternative Name",
"code": "alt_name", "code": "alt_name",
"data_type": "text", "data_type": "text",
"multivalue": true, "is_multivalue": true,
"default": [] "default": []
}, },
{ {
@ -218,14 +218,14 @@
"default": [] "default": []
}, },
{ {
"name": "functions", "name": "Functions",
"code": "functions", "code": "functions",
"data_type": "text", "data_type": "text",
"multivalue": true, "multivalue": true,
"default": [] "default": []
}, },
{ {
"name": "pathway", "name": "Pathway",
"code": "pathway", "code": "pathway",
"data_type": "json", "data_type": "json",
"default": {} "default": {}
@ -287,7 +287,7 @@
"is_filterable": false, "is_filterable": false,
"metadata": { "metadata": {
"lifecycle": "authoring_only", "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", "attribute_key": "m0001_ct0007.master_point",
"empty_behavior": "hide", "empty_behavior": "hide",
"visibility": "show", "visibility": "show",
"display_order": 0 "display_order": 3
}, },
{ {
"attribute_key": "m0001_ct0007.coupled_point", "attribute_key": "m0001_ct0007.coupled_point",
"empty_behavior": "hide", "empty_behavior": "hide",
"visibility": "show", "visibility": "show",
"display_order": 0 "display_order": 3
}, },
{ {
"attribute_key": "m0001_ct0007.luo_point", "attribute_key": "m0001_ct0007.luo_point",
"empty_behavior": "hide", "empty_behavior": "hide",
"visibility": "show", "visibility": "show",
"display_order": 0 "display_order": 3
}, },
{ {
"attribute_key": "m0001_ct0007.xi_cleft_point", "attribute_key": "m0001_ct0007.xi_cleft_point",
"empty_behavior": "hide", "empty_behavior": "hide",
"visibility": "show", "visibility": "show",
"display_order": 0 "display_order": 3
}, },
{ {
"attribute_key": "m0001_ct0007.intersection_points", "attribute_key": "m0001_ct0007.intersection_points",
"empty_behavior": "hide", "empty_behavior": "hide",
"visibility": "show", "visibility": "show",
"display_order": 0 "display_order": 3
}, },
{ {
"attribute_key": "m0001_ct0007.paired_meridian", "attribute_key": "m0001_ct0007.paired_meridian",
"empty_behavior": "hide", "empty_behavior": "hide",
"visibility": "show", "visibility": "show",
"display_order": 0 "display_order": 3
}, },
{ {
"attribute_key": "m0001_ct0007.areas_of_effect", "attribute_key": "m0001_ct0007.areas_of_effect",
"empty_behavior": "hide", "empty_behavior": "hide",
"visibility": "show", "visibility": "show",
"display_order": 0 "display_order": 2
}, },
{ {
"attribute_key": "m0001_ct0007.functions", "attribute_key": "m0001_ct0007.functions",
"empty_behavior": "hide", "empty_behavior": "hide",
"visibility": "show", "visibility": "show",
"display_order": 0 "display_order": 1
}, },
{ {
"attribute_key": "m0001_ct0007.pathway", "attribute_key": "m0001_ct0007.pathway",

View File

@ -270,13 +270,13 @@
"attribute_key": "m0002_ct0011.indication", "attribute_key": "m0002_ct0011.indication",
"empty_behavior": "hide", "empty_behavior": "hide",
"visibility": "show", "visibility": "show",
"display_order": 0 "display_order": 1
}, },
{ {
"attribute_key": "m0002_ct0011.diagnosis", "attribute_key": "m0002_ct0011.diagnosis",
"empty_behavior": "hide", "empty_behavior": "hide",
"visibility": "show", "visibility": "show",
"display_order": 0 "display_order": 2
}, },
{ {
"attribute_key": "m0002_ct0011.link", "attribute_key": "m0002_ct0011.link",