Skip to content

Commit 9588c57

Browse files
authored
Fix LT-826: overtly order affixes in a template slot (#331)
1 parent 9f79416 commit 9588c57

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/SIL.LCModel/DomainImpl/OverridesLing_MoClasses.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2749,9 +2749,11 @@ public IEnumerable<IMoInflAffMsa> Affixes
27492749
get
27502750
{
27512751
((ICmObjectRepositoryInternal)Services.ObjectRepository).EnsureCompleteIncomingRefsFrom(MoInflAffMsaTags.kflidSlots);
2752-
return from msa in m_incomingRefs
2752+
var affixes = from msa in m_incomingRefs
27532753
where msa.Source is IMoInflAffMsa && ((IMoInflAffMsa) msa.Source).SlotsRC.Contains(this)
27542754
select (IMoInflAffMsa) msa.Source;
2755+
int flid = Cache.DomainDataByFlid.MetaDataCache.GetFieldId2(this.ClassID, "Affixes", true);
2756+
return VirtualOrderingServices.GetOrderedValue(this, flid, affixes);
27552757
}
27562758
}
27572759

0 commit comments

Comments
 (0)