svn: /web/doc-editor/trunk/php/ RepositoryFetcher.php

[email protected] (Yannick Torres)
Newsgroups php.doc.web
Message-ID <[email protected]>
yannick                                  Sun, 31 Jan 2010 22:24:55 +0000

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

Log:
Order the pendingReviewed result

Changed paths:
    U   web/doc-editor/trunk/php/RepositoryFetcher.php

Modified: web/doc-editor/trunk/php/RepositoryFetcher.php
===================================================================
--- web/doc-editor/trunk/php/RepositoryFetcher.php	2010-01-31 21:50:51 UTC (rev 294281)
+++ web/doc-editor/trunk/php/RepositoryFetcher.php	2010-01-31 22:24:55 UTC (rev 294282)
@@ -223,7 +223,7 @@

         $m = $this->getModifies();
         $s = sprintf(
-            'SELECT * FROM `files` WHERE `project`="%s" AND `lang` = "%s" AND reviewed != \'yes\' LIMIT 100',
+            'SELECT * FROM `files` WHERE `project`="%s" AND `lang` = "%s" AND reviewed != \'yes\' ORDER BY `path`, `name` LIMIT 100',
             $project, $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.