[Svn-src-all:1349] [version-2_5-dev 20239] refs #1013

shutta admin @ mail.ec-cube.net
2011年 2月 20日 (日) 06:38:57 JST


Subversion committed to /home/svn/open 20239
http://svn.ec-cube.net/open_trac/changeset/20239
┌────────────────────────────┐
│更新者 :  shutta                                       │
│更新日時:  2011-02-20 06:38:57 +0900 (日, 20  2月 2011)│
└────────────────────────────┘

Log:
--------------------------------------------------------
refs #1013
商品別集計のPostgreSQLでのエラーを修正。
修正部分のコメントにある要indexってなんだろうか?


Changed:                      [U:修正,A:追加,D:削除]
--------------------------------------------------------
U   branches/version-2_5-dev/data/class/pages/admin/total/LC_Page_Admin_Total.php

変更: branches/version-2_5-dev/data/class/pages/admin/total/LC_Page_Admin_Total.php
===================================================================
--- branches/version-2_5-dev/data/class/pages/admin/total/LC_Page_Admin_Total.php	2011-02-19 21:34:32 UTC (rev 20238)
+++ branches/version-2_5-dev/data/class/pages/admin/total/LC_Page_Admin_Total.php	2011-02-19 21:38:57 UTC (rev 20239)
@@ -543,8 +543,8 @@
         }*/
 
         // 要index
-        //$objQuery->setGroupBy('product_id, product_name, product_code, price');
-        $objQuery->setGroupBy('product_id');
+        $objQuery->setGroupBy('product_id, product_name, product_code, price');
+        //$objQuery->setGroupBy('product_id');
         $objQuery->setOrder('total DESC');
         $arrTotalResults = $objQuery->select($col, $from, $where, $arrval);
 




Svn-src-all メーリングリストの案内