From 40393d8d4de8243a4876ed751d4b9d6c90844144 Mon Sep 17 00:00:00 2001 From: William Dewey Date: Wed, 28 Aug 2024 09:41:07 -0500 Subject: [PATCH] revert accidental commenting of subcategory override --- lib/datura/to_es/ead_to_es_items/fields.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/datura/to_es/ead_to_es_items/fields.rb b/lib/datura/to_es/ead_to_es_items/fields.rb index 8a297ca91..7764e083b 100644 --- a/lib/datura/to_es/ead_to_es_items/fields.rb +++ b/lib/datura/to_es/ead_to_es_items/fields.rb @@ -205,8 +205,8 @@ def subjects end def subcategory - # subcategory = get_text(@xpaths["subcategory"]) - # subcategory.length > 0 ? subcategory : "none" + subcategory = get_text(@xpaths["subcategory"]) + subcategory.length > 0 ? subcategory : "none" end def text