From ee1e04e5627512e9dd23b8c482521bf34aed19c2 Mon Sep 17 00:00:00 2001 From: epriestley Date: Fri, 24 May 2013 10:48:23 -0700 Subject: [PATCH] Increase Phriction subdocument limit from 50 to 250 Summary: A few users have come into IRC asking about this: basically, we show "children + grandchildren" until you have more than 50, then we show only children. This creates a few issues: - This view is surprisingly useful, and becomes less useful after it folds. - The folding behavior and program motivation for folding isn't obvious. In the long term, some finessier approach is probably better here (configuration, CMS stuff, etc), but for now just bump the limit up. Test Plan: Viewed Phriction, saw child paegs. Reviewers: chad, btrahan Reviewed By: chad CC: aran Differential Revision: https://secure.phabricator.com/D6028 --- .../phriction/controller/PhrictionDocumentController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/applications/phriction/controller/PhrictionDocumentController.php b/src/applications/phriction/controller/PhrictionDocumentController.php index 58e1252dab..64a4586a3b 100644 --- a/src/applications/phriction/controller/PhrictionDocumentController.php +++ b/src/applications/phriction/controller/PhrictionDocumentController.php @@ -319,7 +319,7 @@ final class PhrictionDocumentController $content_dao = new PhrictionContent(); $conn = $document_dao->establishConnection('r'); - $limit = 50; + $limit = 250; $d_child = PhabricatorSlug::getDepth($slug) + 1; $d_grandchild = PhabricatorSlug::getDepth($slug) + 2;