svn: /web/doc-editor/trunk/ js/ui/component/PendingReviewGrid.js php/RepositoryFetcher.php

[email protected] (Yannick Torres)
Newsgroups php.doc.web
Message-ID <[email protected]>
yannick                                  Sun, 29 Nov 2009 15:55:19 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=291434

Log:
Remove need Reviewed limitation & start collapsed for the corresponding grid

Changed paths:
    U   web/doc-editor/trunk/js/ui/component/PendingReviewGrid.js
    U   web/doc-editor/trunk/php/RepositoryFetcher.php

Modified: web/doc-editor/trunk/js/ui/component/PendingReviewGrid.js
===================================================================
--- web/doc-editor/trunk/js/ui/component/PendingReviewGrid.js	2009-11-29 15:45:08 UTC (rev 291433)
+++ web/doc-editor/trunk/js/ui/component/PendingReviewGrid.js	2009-11-29 15:55:19 UTC (rev 291434)
@@ -71,6 +71,7 @@
 // PendingReviewGrid view
 ui.component._PendingReviewGrid.view = new Ext.grid.GroupingView({
     forceFit     : true,
+    startCollapsed: true,
     groupTextTpl : '{[values.rs[0].data["path"]]} ' +
                    '({[values.rs.length]} ' +
                    '{[values.rs.length > 1 ? "' + _('Files') + '" : "' + _('File') + '"]})',

Modified: web/doc-editor/trunk/php/RepositoryFetcher.php
===================================================================
--- web/doc-editor/trunk/php/RepositoryFetcher.php	2009-11-29 15:45:08 UTC (rev 291433)
+++ web/doc-editor/trunk/php/RepositoryFetcher.php	2009-11-29 15:55:19 UTC (rev 291434)
@@ -166,7 +166,7 @@

         $m = $this->getModifies();
         $s = sprintf(
-            'SELECT * FROM `files` WHERE `lang` = "%s" AND reviewed != \'yes\' LIMIT 100',
+            'SELECT * FROM `files` WHERE `lang` = "%s" AND reviewed != \'yes\'',
             $vcsLang
         );
         $r = DBConnection::getInstance()->query($s);
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.