From 309a5f89813e347bc0f59afc499aa864391c7334 Mon Sep 17 00:00:00 2001 From: "bitweaver.org" Date: Fri, 23 Jan 2009 18:44:54 +0000 Subject: fetch hits as well --- BitArticle.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/BitArticle.php b/BitArticle.php index 555c68f..d6e3f1e 100644 --- a/BitArticle.php +++ b/BitArticle.php @@ -1,6 +1,6 @@ - * @version $Revision: 1.153 $ $Date: 2008/12/05 10:43:33 $ $Author: lsces $ + * @version $Revision: 1.154 $ $Date: 2009/01/23 18:44:54 $ $Author: bitweaver $ */ /** @@ -85,7 +85,7 @@ class BitArticle extends LibertyMime { $bindVars[] = $lookupId = @BitBase::verifyId( $this->mArticleId ) ? $this->mArticleId : $this->mContentId; $this->getServicesSql( 'content_load_sql_function', $selectSql, $joinSql, $whereSql, $bindVars ); - $query = "SELECT a.*, lc.*, atype.*, atopic.*, + $query = "SELECT a.*, lc.*, atype.*, atopic.*, lch.hits, uue.`login` AS `modifier_user`, uue.`real_name` AS `modifier_real_name`, uuc.`login` AS `creator_user`, uuc.`real_name` AS `creator_real_name` , la.`attachment_id` AS `primary_attachment_id`, lf.storage_path AS `image_attachment_path` $selectSql -- cgit v1.3