node to page: Re-add translations sort of regular pages

Was removed by mistake.

Updates #2297
This commit is contained in:
Bjørn Erik Pedersen 2016-11-21 13:51:41 +01:00
parent 6c0ecc2d28
commit 382582fcda

View file

@ -69,5 +69,7 @@ func assignTranslationsToPages(allTranslations map[string]Translations, pages []
for _, translatedPage := range trans { for _, translatedPage := range trans {
page.translations = append(page.translations, translatedPage) page.translations = append(page.translations, translatedPage)
} }
pageBy(languagePageSort).Sort(page.translations)
} }
} }