Skip to content

Replace hard-wired inclusions in meta-panel.controller #405

@brianritchie1312

Description

@brianritchie1312

meta-panel.controller uses a hard-wired list of inclusions for each entityType. This means that the meta-panel query always includes the same entities, not all of which may be required; it also means that the set of inclusions must be extended if new entity references are required (as happened recently with Study from Investigation).

The code extracts variable names from the meta-tab fields already; so it should be possible to replace the hard-wired .include()s by including the discovered variable names.

I am slightly hesitant because there may be other reasons why particular inclusions have been hard-wired; but this may be worth considering.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions