Suppose we have the following code in PDF Template. How do we control the order of radiationMachines? The PDF Template entity in my case is RadiationMachineLocation.
{{#each radiationMachines}}
{{/each}}
What I've tried:
Custom/Resources/metadata/clientDefs/RadiationMachineLocation.json
Custom/Resources/metadata/entityDefs/RadiationMachine.json
Here machineStatusInUseFirst is a custom Orderer class I created and it works in other areas of frontend just fine when viewing list of radiationMachines.
{{#each radiationMachines}}
{{/each}}
What I've tried:
Custom/Resources/metadata/clientDefs/RadiationMachineLocation.json
Code:
"relationshipPanels": {
"radiationMachines": {
"filterList": [
"all"
],
"orderBy": "machineStatusInUseFirst",
"orderDirection": "desc"
}
}
Code:
"collection": {
"orderBy": "machineStatusInUseFirst",
"order": "desc"
},

Comment