Integrated Person View

This commit is contained in:
Simon Martens
2023-07-04 08:36:25 +02:00
parent cf0bc3cddf
commit 04ebd5d90d
10 changed files with 40 additions and 33 deletions

View File

@@ -159,7 +159,7 @@ public class RegisterController : Controller {
parsedSubComments.Add(HTMLHelpers.CommentHelpers.CreateHTML(lib, _readerService, subcomm.Value, category, Settings.ParsingState.CommentType.Subcomment, generateBacklinks));
}
}
res.Add(new CommentModel(parsedComment, parsedSubComments));
res.Add(new CommentModel(parsedComment, parsedSubComments, comm.Index));
}
return res;
}
@@ -177,7 +177,7 @@ public class RegisterController : Controller {
parsedSubComments.Add(HTMLHelpers.CommentHelpers.CreateHTML(lib, _readerService, subcomm.Value, category, Settings.ParsingState.CommentType.Subcomment));
}
}
res.Add(new CommentModel(parsedComment, parsedSubComments));
res.Add(new CommentModel(parsedComment, parsedSubComments, comm.Index));
}
return res;
}