Slightly different logic for readpage versus other views.
Patch by exor674.
diffs (15 lines):
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;
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog