From fee8952e6495d7c00ba5e8f3e044920551c7c95c Mon Sep 17 00:00:00 2001 From: John Maxwell Date: Mon, 25 May 2026 08:05:41 -0700 Subject: [PATCH] Fix new case for LT-11746: Make Preview aware of publication choice --- Src/xWorks/XhtmlDocView.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Src/xWorks/XhtmlDocView.cs b/Src/xWorks/XhtmlDocView.cs index 15486d2275..623336badb 100644 --- a/Src/xWorks/XhtmlDocView.cs +++ b/Src/xWorks/XhtmlDocView.cs @@ -267,7 +267,10 @@ internal static bool IsObjectVisible(int hvoTarget, LcmCache cache, PropertyTabl // commented out until conditions are clarified (LT-11447) string configurationName = DictionaryConfigurationListener.GetCurrentConfiguration(propertyTable, false); var configuration = new DictionaryConfigurationModel(configurationName, cache); - if (entry.EntryRefsOS.Count > 0 && !entry.PublishAsMinorEntry && configuration.IsRootBased) + if (entry.EntryRefsOS.Count > 0 && !entry.PublishAsMinorEntry && + (configuration.Type == DictionaryConfigurationModel.ConfigType.Hybrid || + configuration.Type == DictionaryConfigurationModel.ConfigType.Lexeme || + configuration.Type == DictionaryConfigurationModel.ConfigType.Root)) { xrc = DictionaryConfigurationController.ExclusionReasonCode.ExcludedMinorEntry; return false;