Author: tkoomzaaskz
Date: 2010-02-07 12:05:30 +0100 (Sun, 07 Feb 2010)
New Revision: 27633
Modified:
plugins/tdBlogPlugin/trunk/lib/model/doctrine/PlugintdArticleTable.class.php
plugins/tdBlogPlugin/trunk/package.xml
Log:
[td][blog] articles show order switched to created_at desc
Modified:
plugins/tdBlogPlugin/trunk/lib/model/doctrine/PlugintdArticleTable.class.php
===================================================================
---
plugins/tdBlogPlugin/trunk/lib/model/doctrine/PlugintdArticleTable.class.php
2010-02-07 10:46:11 UTC (rev 27632)
+++
plugins/tdBlogPlugin/trunk/lib/model/doctrine/PlugintdArticleTable.class.php
2010-02-07 11:05:30 UTC (rev 27633)
@@ -24,7 +24,7 @@
return Doctrine_Query::create()
->from('tdArticle a')
->select($fields)
- ->orderBy('a.created_at')
+ ->orderBy('a.created_at DESC')
->leftJoin('a.Author u')
->leftJoin('u.Profile p')
->limit($count);
Modified: plugins/tdBlogPlugin/trunk/package.xml
===================================================================
--- plugins/tdBlogPlugin/trunk/package.xml 2010-02-07 10:46:11 UTC (rev
27632)
+++ plugins/tdBlogPlugin/trunk/package.xml 2010-02-07 11:05:30 UTC (rev
27633)
@@ -10,10 +10,10 @@
<email>[email protected]</email>
<active>yes</active>
</lead>
- <date>2010-01-24</date>
+ <date>2010-02-07</date>
<time>11:00:00</time>
<version>
- <release>0.1.2</release>
+ <release>0.1.3</release>
<api>0.1.0</api>
</version>
<stability>
@@ -130,6 +130,24 @@
<release>
<version>
+ <release>0.1.3</release>
+ <api>0.1.0</api>
+ </version>
+ <stability>
+ <release>beta</release>
+ <api>beta</api>
+ </stability>
+ <license uri="http://www.symfony-project.org/license">MIT license</license>
+ <date>2010-02-07</date>
+ <license>MIT</license>
+ <notes>
+ * NOT RELEASED YET
+ * switched articles list to be shown with descending create time
+ </notes>
+ </release>
+
+ <release>
+ <version>
<release>0.1.2</release>
<api>0.1.0</api>
</version>
--
You received this message because you are subscribed to the Google Groups
"symfony SVN" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/symfony-svn?hl=en.