[dw-free] Entries backdated to beginning of time will not show up on /tag/a_tag
[commit: http://hg.dwscoalition.org/dw-free/rev/e5e0d76a8428]
http://bugs.dwscoalition.org/show_bug.cgi?id=2987
Slightly different logic for readpage versus other views.
Patch by
exor674.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=2987
Slightly different logic for readpage versus other views.
Patch by
Files modified:
- cgi-bin/DW/Logic/LogItems.pm
--------------------------------------------------------------------------------
diff -r 3d216a091ac6 -r e5e0d76a8428 cgi-bin/DW/Logic/LogItems.pm
--- a/cgi-bin/DW/Logic/LogItems.pm Tue Sep 07 13:25:05 2010 -0500
+++ b/cgi-bin/DW/Logic/LogItems.pm Wed Sep 08 12:28:26 2010 +0800
@@ -391,7 +391,10 @@ sub recent_items
# second at the end of time we'll have a flashback of all those
# backdated entries... but then the world explodes and everybody
# with 32 bit time_t structs dies)
- my $notafter = $args{'notafter'} + 0 || $LJ::EndOfTime - 1;
+ #
+ # Unless we are not on a friends view, then want to use the actual end of time.
+ my $notafter = $args{notafter} + 0;
+ $notafter ||= $args{friendsview} ? $LJ::EndOfTime - 1 : $LJ::EndOfTime;
my $skip = $args{'skip'}+0;
my $itemshow = $args{'itemshow'}+0;
--------------------------------------------------------------------------------
