svn: /web/php-bugs/trunk/include/ query.php
| From: | Jani Taskinen | Date: | Tue, 16 Mar 2010 13:17:33 +0000 |
| Subject: | svn: /web/php-bugs/trunk/include/ query.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-7608@lists.php.net to get a copy of this message | ||
jani Tue, 16 Mar 2010 13:17:33 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=296276
Log:
- When sorting by "last modified", show results in descenting order by default as that is
the most common case
Changed paths:
U web/php-bugs/trunk/include/query.php
Modified: web/php-bugs/trunk/include/query.php
===================================================================
--- web/php-bugs/trunk/include/query.php 2010-03-16 13:13:09 UTC (rev 296275)
+++ web/php-bugs/trunk/include/query.php 2010-03-16 13:17:33 UTC (rev 296276)
@@ -173,7 +173,7 @@
if ($order_by == $reorder_by) {
$direction = $direction == 'ASC' ? 'DESC' : 'ASC';
} else {
- $direction = 'ASC';
+ $direction = $reorder_by == 'ts2' ? 'DESC' : 'ASC';
$order_by = $reorder_by;
}
}