lib/jekyll/geolexica/glossary.rb in jekyll-geolexica-1.9.0 vs lib/jekyll/geolexica/glossary.rb in jekyll-geolexica-1.9.1
- old
+ new
@@ -23,9 +23,10 @@
@collection.each do |managed_concept|
concept_hash = {
"id" => managed_concept.uuid,
"term" => managed_concept.default_designation,
"termid" => managed_concept.id,
+ "status" => managed_concept.status,
}.merge(managed_concept.to_h)
managed_concept.localizations.each do |lang, localization|
concept_hash[lang] = localization.to_h["data"]
end