Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include text section in ToC #2407

Merged
merged 1 commit into from
Feb 18, 2025
Merged

Include text section in ToC #2407

merged 1 commit into from
Feb 18, 2025

Conversation

Fosol
Copy link
Collaborator

@Fosol Fosol commented Feb 18, 2025

The reports will now include the Text section in the table of contents.

Summary

  • Add DB migration 1.3.22

@Fosol Fosol added enhancement New feature or request DB Migration A DB Migration may require refreshing or simply updating your database. labels Feb 18, 2025
@Fosol Fosol self-assigned this Feb 18, 2025
@@ -81,7 +81,7 @@
{
@* TABLE OF CONTENTS SECTION *@
var tocCount = 0;
@foreach (var tableSection in Sections.Where(s => new [] {ReportSectionType.Content, ReportSectionType.Gallery}.Contains(s.Value.SectionType)))
@foreach (var tableSection in Sections.Where(s => new [] {ReportSectionType.Content, ReportSectionType.Gallery, ReportSectionType.Text}.Contains(s.Value.SectionType)))
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added ReportSectionType.Text to ToC

{
@* TABLE OF CONTENTS SECTION *@
var tocCount = 0;
@foreach (var tableSection in Sections.Where(s => new [] {ReportSectionType.Content, ReportSectionType.Gallery, ReportSectionType.Text}.Contains(s.Value.SectionType)))
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added ReportSectionType.Text to ToC

@Fosol Fosol merged commit 89c9a5c into bcgov:dev Feb 18, 2025
2 checks passed
@Fosol Fosol deleted the text branch February 18, 2025 21:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DB Migration A DB Migration may require refreshing or simply updating your database. enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant