Fix order of GetTerms

Preserve the order from front matter, which would be behaviour when doing this manually (before GetTerms).

Fixes #7213
This commit is contained in:
Bjørn Erik Pedersen
2020-06-15 16:33:09 +02:00
parent 889dc47ceb
commit 522ba1cd98
6 changed files with 70 additions and 9 deletions

View File

@@ -264,6 +264,7 @@ func (b *cmInsertKeyBuilder) newTopLevel() {
}
type contentBundleViewInfo struct {
ordinal int
name viewName
termKey string
termOrigin string