Skip to content
This repository has been archived by the owner on Oct 6, 2019. It is now read-only.

Fix tab sorting before they are serialized #1134

Merged
merged 3 commits into from
Sep 17, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1093,7 +1093,7 @@ private void SerializeTabs(XmlWriter writer, PortalInfo portal, bool isMultilang
private void SerializeTabs(XmlWriter writer, PortalInfo portal, Hashtable tabs, TabCollection tabCollection, IEnumerable<TabDto> pages, bool chkContent)
{
pages = pages.ToList();
foreach (var tab in tabCollection.Values.OrderBy(x=>x.TabID))
foreach (var tab in tabCollection.Values.OrderBy(x=>x.Level))
{
//if not deleted
if (!tab.IsDeleted)
Expand Down