This project is read-only.

Archive Links Not Returning Any Posts for Current Day- 28082

Topics: Enhanced Blog Edition
Jul 13, 2009 at 9:08 PM
Edited Jul 13, 2009 at 9:36 PM

With build 28082 no posts are being returned when clicking on an archives link (such as July 2009 (1)).  I get the "There are no posts in this category" message even though there's a post for July 2009.  An example of the link is /Blog/archive/2009/07.aspx.

Can anyone point me in the right direction on where I can look to fix this?  I'm currently experimenting with Postlist.cs but being new to the code base want to make sure that's the right area to be looking in.

Jul 13, 2009 at 9:37 PM
Edited Jul 13, 2009 at 9:42 PM

After looking at this (assuming PostList.cs is the place to look) the code should be doing a less than or equals (I see the <Leq> tag).  But, posts from the current day don't seem to show so it must be a time issue or something.  Since the archives show 1 post available for July the list should pull that one item up though I'd think.

Jul 16, 2009 at 9:16 PM


I think I've fixed the problem. The fix will be included in the Change Set I'll check in next (so the Change Set after 28175).


Jul 16, 2009 at 9:18 PM