stats4sd / Stats4SD-Resources-Site

Reposistory for the Stats4SD Resources Repository
https://resources.stats4sd.org
GNU General Public License v3.0
0 stars 0 forks source link

Upgrade old tags 'type' field #116

Closed chrismclarke closed 6 years ago

chrismclarke commented 7 years ago

Current DB registers tags like 'Collections' however individual tag has type:'Collection' Makes sense if it retains plural form for later use in identifier functions. Simple override of existing tags needed at some point, but not urgent.

dave-mills commented 6 years ago

Humm, yes. Starting to sort this out with keywords vs keyword (I think 'keyword' is still sitting in my persistedTags, and polluting things. Shouldn't be a major long-term problem). Going with the plural for the tag object as suggested, so its:

"tags": { "Collections": {}, "Keywords": {}, "Resource-Types":{} }

dave-mills commented 6 years ago

Marking as done, as the format of "tags" with sub properties for Collections, Keywords and Resource-Types seems to be doing ok for now.