adiwg / mdTranslator

Metadata translation tool built using Ruby
https://www.adiwg.org/mdTranslator/
The Unlicense
14 stars 12 forks source link

sbJSON translation always includes "Data" as a browseCategory #377

Open blakemassey-usfws opened 2 months ago

blakemassey-usfws commented 2 months ago

When an item in MdEditor is translated into the sbJSON format, it seems to always include "Data" as a 'browseCategory' tag.

image

This "Data" tag is not always wanted or accurate - many items should only have a "Project" tag for their 'browseCategory'. Much of the filtering and management of SB Items is dependent on tags, so including a "Data" tag on all Items is inaccurate and causes issues with data management.

After doing a quick search, it appears this section of code may be causing the issue: sbJson_browseCategory.rb

The recommended solution would be to not include a "Data" tag for all records.