From e99b8b069f59151f00e5b1a8f904582c21d2e52d Mon Sep 17 00:00:00 2001 From: John Maxwell Date: Wed, 20 Aug 2025 10:51:08 -0700 Subject: [PATCH 1/2] Fix LT-22171: Categories Browse columns disappear --- Src/xWorks/RecordList.cs | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Src/xWorks/RecordList.cs b/Src/xWorks/RecordList.cs index cd22bf6d77..b5f5fdcc7e 100644 --- a/Src/xWorks/RecordList.cs +++ b/Src/xWorks/RecordList.cs @@ -1895,6 +1895,18 @@ public virtual int ListItemsClass get { CheckDisposed(); + // Try getting the class from an item first + // since the items may be a subclass of the field class. + // This fixes LT-22171. + if (SortedObjects.Count > 0) + { + IManyOnePathSortItem item = SortedObjects[0] as IManyOnePathSortItem; + if (item != null) + { + ICmObject obj = m_cache.ServiceLocator.GetObject(item.KeyObject); + return obj.ClassID; + } + } return VirtualListPublisher.MetaDataCache.GetDstClsId(m_flid); } } From d667d6b64f80ef90d50b2371c536374520282313 Mon Sep 17 00:00:00 2001 From: John Maxwell Date: Thu, 21 Aug 2025 08:20:51 -0700 Subject: [PATCH 2/2] Fix LT-22171: Keep columns from disappearing from Categories --- .../Configuration/Parts/MorphologyParts.xml | 11 ++++++++++- Src/xWorks/RecordList.cs | 12 ------------ 2 files changed, 10 insertions(+), 13 deletions(-) diff --git a/DistFiles/Language Explorer/Configuration/Parts/MorphologyParts.xml b/DistFiles/Language Explorer/Configuration/Parts/MorphologyParts.xml index efc656e989..4919ad077e 100644 --- a/DistFiles/Language Explorer/Configuration/Parts/MorphologyParts.xml +++ b/DistFiles/Language Explorer/Configuration/Parts/MorphologyParts.xml @@ -741,7 +741,16 @@ - + + + + + + + +