oqtane/oqtane.blogs

Error in page Index.razor

zoltanhalasz opened this issue · 1 comments

Let me point out a bug in your Blog code, page Index.razor, lines 73-75 in your repo:
blogid should be simply id, otherwise the selected blog post will be wrong
if (PageState.QueryString.ContainsKey("blogid"))
{
_blogs = new List();
_blogs.Add(await BlogService.GetBlogAsync(int.Parse(PageState.QueryString["blogid"]), ModuleState.ModuleId));
}

fixed in #11