svn: /web/doc-editor/trunk/ js/ui/component/PendingReviewGrid.js php/RepositoryFetcher.php
| From: | Yannick Torres | Date: | Sun, 29 Nov 2009 15:55:19 +0000 |
| Subject: | svn: /web/doc-editor/trunk/ js/ui/component/PendingReviewGrid.js php/RepositoryFetcher.php | ||
| Groups: | php.doc.web | ||
| Request: | Send a blank email to doc-web+get-1251@lists.php.net to get a copy of this message | ||
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);