CDLUC3 / dash

General repository for documents and communication for UC Dash project.
http://cdluc3.github.io/dash
MIT License
11 stars 4 forks source link

Type value listed twice on data record page? #72

Closed ghost closed 9 years ago

ghost commented 9 years ago

On each data record page, the 'Type' value is always listed twice. For example, 'Dataset: Dataset' or 'Image: Image'.

Not sure if this is a bug... if not, our team wondered what the reasoning was behind this double listing.

cpwillett commented 9 years ago

There are two values in the metadata: <resourceType resourceTypeGeneral="Dataset">Dataset</resourceType>

The attribute value is from a restricted list. The element value is free text, but we just duplicate the attribute value here. So there's no point in showing both in the UI.

cpwillett commented 9 years ago

Fixed and deployed to dev, stage and production