We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad25a63 commit 12235d5Copy full SHA for 12235d5
EssentialCSharp.Web/Views/Shared/_Layout.cshtml
@@ -124,7 +124,6 @@
124
<span v-cloak>{{chapterParentPage.title}}</span>
125
</a>
126
<div class="menu-chapter-title text-light">
127
- <form
128
<span v-cloak>{{currentPageCount}} / {{totalPageCount}}</span>
129
</div>
130
@@ -296,7 +295,7 @@
296
295
Title = $"Chapter {x.Key}: {x.First().ChapterTitle}",
297
Items = GetItems(x, 1)
298
});
299
- var groupedTocData = _SiteMappings.SiteMappings.GroupBy(x => x.ChapterNumber).OrderBy(x => x.Key);
+ var groupedTocData = _SiteMappings.SiteMappings.DistinctBy(x => (x.ChapterNumber, x.PageNumber)).GroupBy(x => x.ChapterNumber).OrderBy(x => x.Key);
300
int currentPageCount = 1;
301
int overallCount = 1;
302
bool currentPageFound = false;
0 commit comments