vadvs (vadvs) wrote in changelog,
vadvs
vadvs
changelog

[ljcom] r9629: LJSUP-7185: disable reculculation of com...

Committer: vsukhanov
LJSUP-7185: disable reculculation of comments page size
U   trunk/cgi-bin/LJ/SUP/RPC/Command/comments_tree.pm
Modified: trunk/cgi-bin/LJ/SUP/RPC/Command/comments_tree.pm
===================================================================
--- trunk/cgi-bin/LJ/SUP/RPC/Command/comments_tree.pm	2010-10-18 08:22:55 UTC (rev 9628)
+++ trunk/cgi-bin/LJ/SUP/RPC/Command/comments_tree.pm	2010-10-18 08:42:28 UTC (rev 9629)
@@ -154,6 +154,7 @@
         thread  => $args->{thread},
         page    => $args->{page},
         page_size => ($args->{page_size} || 5),
+        strict_page_size => 1, ## disable recalculation of page size.
         expand_strategy => 'by_level',
         expand_level    => 3,
         view => undef,

Tags: ljcom, pm, vadvs
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments