[pLog-svn] r1845 - plog/branches/plog-1.0.1/class/dao
mark at devel.plogworld.net
mark at devel.plogworld.net
Fri Apr 15 16:40:05 GMT 2005
Author: mark
Date: 2005-04-15 16:40:04 +0000 (Fri, 15 Apr 2005)
New Revision: 1845
Modified:
plog/branches/plog-1.0.1/class/dao/articlecategories.class.php
Log:
It seems we forgot add description information in most articlecategories method. :(
Just add these missing descriptions.
Mark
Modified: plog/branches/plog-1.0.1/class/dao/articlecategories.class.php
===================================================================
--- plog/branches/plog-1.0.1/class/dao/articlecategories.class.php 2005-04-15 15:42:50 UTC (rev 1844)
+++ plog/branches/plog-1.0.1/class/dao/articlecategories.class.php 2005-04-15 16:40:04 UTC (rev 1845)
@@ -426,7 +426,7 @@
$prefix = $this->getPrefix();
$query = "SELECT c.id AS id, c.name AS name, c.url AS url, c.blog_id AS blog_id,
c.last_modification AS last_modification, c.in_main_page AS in_main_page,
- c.parent_id AS parent_id, c.properties AS properties,
+ c.parent_id AS parent_id, c.properties AS properties, c.description AS description,
c.mangled_name AS mangled_name, IF(a.id IS NULL, 0, COUNT(*)) AS num_articles, a.date AS last_update
FROM {$prefix}articles_categories c LEFT JOIN {$prefix}article_categories_link l
ON c.id=l.category_id LEFT JOIN {$prefix}articles a ON a.id = l.article_id
@@ -468,7 +468,7 @@
$prefix = $this->getPrefix();
$query = "SELECT a.id as article_id, c.id AS id, c.name AS name, c.url AS url, c.blog_id AS blog_id,
c.last_modification AS last_modification, c.in_main_page AS in_main_page,
- c.parent_id AS parent_id, c.properties AS properties,
+ c.parent_id AS parent_id, c.properties AS properties, c.description AS description,
c.mangled_name AS mangled_name, IF(a.id IS NULL, 0, COUNT(*)) AS num_articles, a.date AS last_update
FROM {$prefix}articles_categories c LEFT JOIN {$prefix}article_categories_link l
ON c.id=l.category_id LEFT JOIN {$prefix}articles a ON a.id = l.article_id
More information about the pLog-svn
mailing list