MauroDataMapper / mdm-explorer

Apache License 2.0
0 stars 0 forks source link

Data Specifications: only 10 columns per table are displayed when viewing #454

Open joe-crawford opened 4 days ago

joe-crawford commented 4 days ago

Description

When viewing a data specification at a URL like http://localhost:4201/#/dataSpecifications/{{uuid}}, only 10 data elements per selected data class are displayed when viewing, even if more were selected.

Steps to reproduce

Using a root data model which contains a table data class with more than 10 column data elements, build a query selecting all the elements on that data class. When viewing the data specification, only 10 data elements show under that data class.

Expected behavior

There should be a way to view more/all of the data elements selected.

Screenshots

inpatient_encounter had more than the displayed 10 data elements selected:

Screenshot 2024-09-24 at 4 31 05 PM

Environment

latest develop of mdm-explorer and mdm-plugin-explorer

NigelPalmer commented 2 days ago

The first thing to check is whether the missing fields are present when viewing the Data Specification in the MDM. It is possible that they were not copied in the first place.

joe-crawford commented 2 days ago

@NigelPalmer, yes I can see all the elements that were copied (whole table in each case, more than 10) in mdm-ui. I can also see the full list in the dropdowns in the query builder in mdm-explorer. I am guessing the mdm-explorer dataSpecifications page is just hitting a default limit of 10 on the /dataElements request which can be overridden with ?max=9999 or similar.

NigelPalmer commented 1 day ago

Thanks for checking Joe. Just a display problem then to resolve.